diff options
Diffstat (limited to 'Source/Random.h')
| -rw-r--r-- | Source/Random.h | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/Source/Random.h b/Source/Random.h index e4700f3..40998de 100644 --- a/Source/Random.h +++ b/Source/Random.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | #include <chrono> | ||
| 2 | 3 | ||
| 3 | static int s_seed; | 4 | static int s_seed = time(nullptr); // Seed from the time in milliseconds |
| 4 | 5 | ||
| 5 | class Random | 6 | class Random |
| 6 | { | 7 | { |
