diff options
author | Eugene Sandulenko | 2016-09-12 22:06:16 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-12 22:06:47 +0200 |
commit | ad2231a00ad77279f196a3c5b4df99b0adc707e7 (patch) | |
tree | ce52ae930d1984fbda13a2995d85c97e80c57970 /engines/fullpipe/scenes | |
parent | 935df3b397fa2d0887b8e8afa5e044ba397f5ed3 (diff) | |
download | scummvm-rg350-ad2231a00ad77279f196a3c5b4df99b0adc707e7.tar.gz scummvm-rg350-ad2231a00ad77279f196a3c5b4df99b0adc707e7.tar.bz2 scummvm-rg350-ad2231a00ad77279f196a3c5b4df99b0adc707e7.zip |
FULLPIPE: Fix bal shooting logic in scene29
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene29.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene29.cpp b/engines/fullpipe/scenes/scene29.cpp index 4da1a31266..f977d97008 100644 --- a/engines/fullpipe/scenes/scene29.cpp +++ b/engines/fullpipe/scenes/scene29.cpp @@ -549,7 +549,7 @@ void sceneHandler29_manRideBack() { void sceneHandler29_shoot() { if (g_vars->scene29_arcadeIsOn && g_vars->scene29_manX < 1310) { - if (g_fp->_rnd->getRandomNumber(1) || g_vars->scene29_shooter1->_movement || g_vars->scene29_shooter1->_statics->_staticsId != ST_STR1_RIGHT) { + if (g_fp->_rnd->getRandomNumber(32767) <= 16383|| g_vars->scene29_shooter1->_movement || g_vars->scene29_shooter1->_statics->_staticsId != ST_STR1_RIGHT) { if (!g_vars->scene29_shooter2->_movement && g_vars->scene29_shooter2->_statics->_staticsId == ST_STR2_RIGHT) { if (g_vars->scene29_shooter2->_flags & 4) { g_vars->scene29_shooter2->startAnim(MV_STR2_SHOOT, 0, -1); |