diff options
author | Eugene Sandulenko | 2015-01-02 01:38:49 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-01-02 13:15:13 +0100 |
commit | f4a99656ceab94cfc1c75d34180a5a49dfd43c0f (patch) | |
tree | 67ba6fc55e7a78be8a461cc3e945dd733398f797 /engines | |
parent | 34ec4ed6b51b81afa012543040951091ee1208ee (diff) | |
download | scummvm-rg350-f4a99656ceab94cfc1c75d34180a5a49dfd43c0f.tar.gz scummvm-rg350-f4a99656ceab94cfc1c75d34180a5a49dfd43c0f.tar.bz2 scummvm-rg350-f4a99656ceab94cfc1c75d34180a5a49dfd43c0f.zip |
FULLPIPE: Fix bug with spring in scene04
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene04.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp index fd1ececdf2..6b3ddf9640 100644 --- a/engines/fullpipe/scenes/scene04.cpp +++ b/engines/fullpipe/scenes/scene04.cpp @@ -949,7 +949,7 @@ void sceneHandler04_springWobble() { if (g_vars->scene04_bottleWeight < newdelta) g_vars->scene04_springOffset--; - if ((oldDynIndex > g_vars->scene04_bottleWeight && newdelta > g_vars->scene04_bottleWeight) || newdelta <= g_vars->scene04_bottleWeight) { + if ((oldDynIndex <= g_vars->scene04_bottleWeight && newdelta > g_vars->scene04_bottleWeight) || newdelta <= g_vars->scene04_bottleWeight) { g_vars->scene04_springDelay++; if (g_vars->scene04_springOffset && g_vars->scene04_springDelay > 1) { |