moved RNG to common/util.cpp
svn-id: r5778
This commit is contained in:
parent
89eaf9b319
commit
133f624cc5
9 changed files with 52 additions and 32 deletions
|
@ -1134,7 +1134,7 @@ void Scumm::o5_ifNotState()
|
|||
void Scumm::o5_getRandomNr()
|
||||
{
|
||||
getResultPos();
|
||||
setResult(getRandomNumber(getVarOrDirectByte(0x80)));
|
||||
setResult(_rnd.getRandomNumber(getVarOrDirectByte(0x80)));
|
||||
}
|
||||
|
||||
void Scumm::o5_getScriptRunning()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue