mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
FULLPIPE: Simplify code in scene12
This commit is contained in:
parent
8725a3a6a6
commit
bb94a1a839
@ -42,7 +42,7 @@ void scene12_initScene(Scene *sc) {
|
||||
g_vars->scene12_fly = g_fp->getObjectState(sO_Fly_12);
|
||||
|
||||
if (g_vars->scene12_fly)
|
||||
g_vars->scene12_flyCountdown = 600 * g_fp->_rnd->getRandomNumber(32767) / 0x7fff + 600;
|
||||
g_vars->scene12_flyCountdown = g_fp->_rnd->getRandomNumber(600) + 600;
|
||||
|
||||
g_fp->setObjectState(sO_Fly_12, g_fp->_rnd->getRandomNumber(1));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user