summaryrefslogtreecommitdiffstats
path: root/src/General.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/General.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/General.h b/src/General.h
index f957ab2f..41bdf5d7 100644
--- a/src/General.h
+++ b/src/General.h
@@ -47,6 +47,6 @@ public:
static float GetRandomNumberInRange(float low, float high)
{ return low + (high - low)*(GetRandomNumber()/float(MYRAND_MAX + 1)); }
- static Int32 GetRandomNumberInRange(Int32 low, Int32 high)
+ static int32 GetRandomNumberInRange(int32 low, int32 high)
{ return low + (high - low)*(GetRandomNumber()/float(MYRAND_MAX + 1)); }
};