aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2015-01-02 01:38:49 +0100
committerEugene Sandulenko2015-01-02 13:15:13 +0100
commitf4a99656ceab94cfc1c75d34180a5a49dfd43c0f (patch)
tree67ba6fc55e7a78be8a461cc3e945dd733398f797 /engines/fullpipe/scenes
parent34ec4ed6b51b81afa012543040951091ee1208ee (diff)
downloadscummvm-rg350-f4a99656ceab94cfc1c75d34180a5a49dfd43c0f.tar.gz
scummvm-rg350-f4a99656ceab94cfc1c75d34180a5a49dfd43c0f.tar.bz2
scummvm-rg350-f4a99656ceab94cfc1c75d34180a5a49dfd43c0f.zip
FULLPIPE: Fix bug with spring in scene04
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene04.cpp2
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) {