From a55e738dfad92ae7e23e45c3593384b9469f1177 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sat, 9 May 2020 20:21:13 +0300 Subject: ccarctrl big fix --- src/core/General.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/General.h') 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); } }; -- cgit v1.2.3