FULLPIPE: Simplify code in scene12

This commit is contained in:
Eugene Sandulenko 2014-01-04 01:27:34 +02:00
parent 8725a3a6a6
commit bb94a1a839

View File

@ -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));
}