diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene17.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene17.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene17.cpp b/engines/fullpipe/scenes/scene17.cpp index 3ea35b7024..a830a8f985 100644 --- a/engines/fullpipe/scenes/scene17.cpp +++ b/engines/fullpipe/scenes/scene17.cpp @@ -62,9 +62,9 @@ void scene17_restoreState() { g_vars->scene17_flyState = g_fp->getObjectState(sO_Fly_17); if (g_vars->scene17_flyState <= 0 ) { - g_vars->scene17_flyCountdown = g_fp->_rnd->getRandomNumber(600) + 600; + g_vars->scene17_flyCountdown = g_fp->_rnd.getRandomNumber(600) + 600; - g_vars->scene17_flyState = g_fp->_rnd->getRandomNumber(4) + 1; + g_vars->scene17_flyState = g_fp->_rnd.getRandomNumber(4) + 1; } g_fp->setObjectState(sO_Fly_17, g_vars->scene17_flyState - 1); @@ -157,7 +157,7 @@ void sceneHandler17_moonshineFill() { void sceneHandler17_updateFlies() { g_fp->_floaters->genFlies(g_fp->_currentScene, 239, -50, 20, 4); - g_fp->_floaters->_array2[0]->countdown = g_fp->_rnd->getRandomNumber(5) + 6; + g_fp->_floaters->_array2[0]->countdown = g_fp->_rnd.getRandomNumber(5) + 6; g_fp->_floaters->_array2[0]->val6 = 239; g_fp->_floaters->_array2[0]->val7 = -50; } |