mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 05:40:00 +00:00
fix
This commit is contained in:
parent
197767d1c8
commit
64f9dfbb89
|
@ -14,8 +14,8 @@ public:
|
||||||
{ return myrand() & 0xFFFF; }
|
{ return myrand() & 0xFFFF; }
|
||||||
// Probably don't want to ever reach high
|
// Probably don't want to ever reach high
|
||||||
static float GetRandomNumberInRange(float low, float high)
|
static float GetRandomNumberInRange(float low, float high)
|
||||||
{ return low + (high - low)*(GetRandomNumber()/float(RAND_MAX + 1)); }
|
{ return low + (high - low)*(GetRandomNumber()/float(MY_RAND_MAX + 1)); }
|
||||||
|
|
||||||
static Int32 GetRandomNumberInRange(Int32 low, Int32 high)
|
static Int32 GetRandomNumberInRange(Int32 low, Int32 high)
|
||||||
{ return low + (high - low)*(GetRandomNumber()/float(RAND_MAX + 1)); }
|
{ return low + (high - low)*(GetRandomNumber()/float(MY_RAND_MAX + 1)); }
|
||||||
};
|
};
|
||||||
|
|
|
@ -53,6 +53,6 @@ enum Config {
|
||||||
NUMHOURS = 24,
|
NUMHOURS = 24,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define USE_PS2_RAND FALSE
|
#define USE_PS2_RAND TRUE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue