diff options
Diffstat (limited to 'Source/Main.cpp')
| -rw-r--r-- | Source/Main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
| diff --git a/Source/Main.cpp b/Source/Main.cpp index 0081808..86a784b 100644 --- a/Source/Main.cpp +++ b/Source/Main.cpp | |||
| @@ -118,7 +118,13 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) | |||
| 118 | seed = _wtoi(text.c_str()); | 118 | seed = _wtoi(text.c_str()); |
| 119 | } | 119 | } |
| 120 | srand(seed); | 120 | srand(seed); |
| 121 | Randomizer().Randomize(); | 121 | Randomizer randomizer; |
| 122 | randomizer.Randomize(); | ||
| 123 | /* | ||
| 124 | if (adjustSpeed.isChecked()) { | ||
| 125 | randomizer.AdjustSpeed(); | ||
| 126 | } | ||
| 127 | */ | ||
| 122 | SetWindowText(hwndRandomize, L"Randomized!"); | 128 | SetWindowText(hwndRandomize, L"Randomized!"); |
| 123 | } | 129 | } |
| 124 | } | 130 | } |
