about summary refs log tree commit diff stats
path: root/Source/Random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Random.cpp')
-rw-r--r--Source/Random.cpp2
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
4int Random::s_seed = time(nullptr); // Seed from the time in milliseconds 4int Random::s_seed = static_cast<int>(time(nullptr)); // Seed from the time in milliseconds
5 5
6void Random::SetSeed(int seed) { 6void Random::SetSeed(int seed) {
7 s_seed = seed; 7 s_seed = seed;