diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene28.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene28.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp index 275c78802f..7cf683ac97 100644 --- a/engines/fullpipe/scenes/scene28.cpp +++ b/engines/fullpipe/scenes/scene28.cpp @@ -86,7 +86,7 @@ void sceneHandler28_makeFaces(ExCommand *cmd) { for (int i = 0; i < 5; i++) { int pos; - while (frames[pos = g_fp->_rnd->getRandomNumber(4)] == 0) + while (frames[pos = g_fp->_rnd.getRandomNumber(4)] == 0) ; mq->getExCommandByIndex(i)->_messageNum = frames[pos]; @@ -173,12 +173,12 @@ void sceneHandler28_turnOn2() { g_fp->_floaters->genFlies(g_fp->_currentScene, 1013, 329, 60, 4); g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val13 = 30; - g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->countdown = g_fp->_rnd->getRandomNumber(12) + 12; + g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->countdown = g_fp->_rnd.getRandomNumber(12) + 12; g_fp->_floaters->genFlies(g_fp->_currentScene, 1074, 311, 60, 4); g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->val13 = 30; - g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->countdown = g_fp->_rnd->getRandomNumber(12) + 12; + g_fp->_floaters->_array2[g_fp->_floaters->_array2.size() - 1]->countdown = g_fp->_rnd.getRandomNumber(12) + 12; } g_vars->scene28_fliesArePresent = false; |