diff options
author | Eugene Sandulenko | 2014-01-04 01:27:34 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-04 01:27:34 +0200 |
commit | bb94a1a839b17b78cef7212b726adcd652a042a2 (patch) | |
tree | b91a526f787458b3c1619750533dbb77cc6ded10 /engines/fullpipe/scenes | |
parent | 8725a3a6a67987fadd11e03d75a22845fd528c8c (diff) | |
download | scummvm-rg350-bb94a1a839b17b78cef7212b726adcd652a042a2.tar.gz scummvm-rg350-bb94a1a839b17b78cef7212b726adcd652a042a2.tar.bz2 scummvm-rg350-bb94a1a839b17b78cef7212b726adcd652a042a2.zip |
FULLPIPE: Simplify code in scene12
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene12.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene12.cpp b/engines/fullpipe/scenes/scene12.cpp index 65f50b465a..0295efcaf5 100644 --- a/engines/fullpipe/scenes/scene12.cpp +++ b/engines/fullpipe/scenes/scene12.cpp @@ -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)); } |