summaryrefslogtreecommitdiffstats
path: root/src/core/General.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-09 19:21:13 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-09 19:21:13 +0200
commita55e738dfad92ae7e23e45c3593384b9469f1177 (patch)
treee3714c0badf493db709cbf516cc7f9611f57e38f /src/core/General.h
parentfix (diff)
downloadre3-a55e738dfad92ae7e23e45c3593384b9469f1177.tar
re3-a55e738dfad92ae7e23e45c3593384b9469f1177.tar.gz
re3-a55e738dfad92ae7e23e45c3593384b9469f1177.tar.bz2
re3-a55e738dfad92ae7e23e45c3593384b9469f1177.tar.lz
re3-a55e738dfad92ae7e23e45c3593384b9469f1177.tar.xz
re3-a55e738dfad92ae7e23e45c3593384b9469f1177.tar.zst
re3-a55e738dfad92ae7e23e45c3593384b9469f1177.zip
Diffstat (limited to '')
-rw-r--r--src/core/General.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/General.h b/src/core/General.h
index 7ffa99de..3188d82b 100644
--- a/src/core/General.h
+++ b/src/core/General.h
@@ -145,4 +145,6 @@ public:
static int32 GetRandomNumberInRange(int32 low, int32 high)
{ return low + (high - low)*(GetRandomNumber()/float(MYRAND_MAX + 1)); }
+ static void SetRandomSeed(int32 seed)
+ { mysrand(seed); }
};