diff options
Diffstat (limited to 'Source/Random.cpp')
-rw-r--r-- | Source/Random.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Random.cpp b/Source/Random.cpp index d8f5eb2..d6e86a6 100644 --- a/Source/Random.cpp +++ b/Source/Random.cpp | |||
@@ -1,7 +1,7 @@ | |||
1 | #include <chrono> | 1 | #include <chrono> |
2 | #include "Random.h" | 2 | #include "Random.h" |
3 | 3 | ||
4 | int Random::s_seed = time(nullptr); // Seed from the time in milliseconds | 4 | int Random::s_seed = static_cast<int>(time(nullptr)); // Seed from the time in milliseconds |
5 | 5 | ||
6 | void Random::SetSeed(int seed) { | 6 | void Random::SetSeed(int seed) { |
7 | s_seed = seed; | 7 | s_seed = seed; |