mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Remove hsRand--we have rand support in the Cstdlib
This commit is contained in:
@ -128,7 +128,7 @@ int plRandomCommandMod::IExcludeSelections(int ncmds)
|
||||
|
||||
float plRandomCommandMod::IGetDelay(float len) const
|
||||
{
|
||||
float r = float(hsRand() * kRandNormalize);
|
||||
float r = float(rand() * kRandNormalize);
|
||||
|
||||
float delay = fMinDelay + (fMaxDelay - fMinDelay) * r;
|
||||
|
||||
@ -156,7 +156,7 @@ hsBool plRandomCommandMod::ISelectNext(int ncmds)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
float r = float(hsRand() * kRandNormalize);
|
||||
float r = float(rand() * kRandNormalize);
|
||||
|
||||
int nSelect = ncmds;
|
||||
|
||||
|
Reference in New Issue
Block a user