diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene05.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene05.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/fullpipe/scenes/scene05.cpp b/engines/fullpipe/scenes/scene05.cpp index b8ecdc4934..35fd24eb99 100644 --- a/engines/fullpipe/scenes/scene05.cpp +++ b/engines/fullpipe/scenes/scene05.cpp @@ -151,12 +151,12 @@ void sceneHandler05_genFlies() { if (g_vars->scene05_floatersTicker <= 1000) return; - if (g_fp->_rnd->getRandomNumber(1)) { - int numFlies = g_fp->_rnd->getRandomNumber(3) + 1; + if (g_fp->_rnd.getRandomNumber(1)) { + int numFlies = g_fp->_rnd.getRandomNumber(3) + 1; for (int i = 0; i < numFlies; i++) { - int x = g_fp->_rnd->getRandomNumber(55) + 538; - int y = g_fp->_rnd->getRandomNumber(60) + i * 30 + 520; + int x = g_fp->_rnd.getRandomNumber(55) + 538; + int y = g_fp->_rnd.getRandomNumber(60) + i * 30 + 520; g_fp->_floaters->genFlies(g_fp->_currentScene, x, y, 5, 1); g_fp->_floaters->_array2.back()->val2 = 585; |