diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene12.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene12.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene12.cpp b/engines/fullpipe/scenes/scene12.cpp index f63bb9a9fd..23bab31912 100644 --- a/engines/fullpipe/scenes/scene12.cpp +++ b/engines/fullpipe/scenes/scene12.cpp @@ -42,15 +42,15 @@ void scene12_initScene(Scene *sc) { g_vars->scene12_fly = g_fp->getObjectState(sO_Fly_12); if (g_vars->scene12_fly) - g_vars->scene12_flyCountdown = g_fp->_rnd->getRandomNumber(600) + 600; + g_vars->scene12_flyCountdown = g_fp->_rnd.getRandomNumber(600) + 600; - g_fp->setObjectState(sO_Fly_12, g_fp->_rnd->getRandomNumber(1)); + g_fp->setObjectState(sO_Fly_12, g_fp->_rnd.getRandomNumber(1)); } void sceneHandler12_updateFloaters() { g_fp->_floaters->genFlies(g_fp->_currentScene, 397, -50, 100, 6); - g_fp->_floaters->_array2[0]->countdown = g_fp->_rnd->getRandomNumber(6) + 4; + g_fp->_floaters->_array2[0]->countdown = g_fp->_rnd.getRandomNumber(6) + 4; g_fp->_floaters->_array2[0]->val6 = 397; g_fp->_floaters->_array2[0]->val7 = -50; } |