diff options
author | Retro-Junk | 2016-08-26 21:40:02 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-26 21:44:26 +0200 |
commit | dd911c92f60f8df2d2f2b1e0c02e04262143a582 (patch) | |
tree | 4bb472206f6cf1bcf16176d69292f18f98c5a1b5 /engines/fullpipe | |
parent | e880fd74edeb79852fe8746eb924055ea8facffc (diff) | |
download | scummvm-rg350-dd911c92f60f8df2d2f2b1e0c02e04262143a582.tar.gz scummvm-rg350-dd911c92f60f8df2d2f2b1e0c02e04262143a582.tar.bz2 scummvm-rg350-dd911c92f60f8df2d2f2b1e0c02e04262143a582.zip |
FULLPIPE: Make elevators actually work
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/lift.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/fullpipe/lift.cpp b/engines/fullpipe/lift.cpp index d066c89d4a..93bfbaaa24 100644 --- a/engines/fullpipe/lift.cpp +++ b/engines/fullpipe/lift.cpp @@ -392,7 +392,8 @@ void FullpipeEngine::lift_clickButton() { lift_walkAndGo(); } -void FullpipeEngine::lift_goAnimation() { if (_lastLiftButton) { +void FullpipeEngine::lift_goAnimation() { + if (_lastLiftButton) { int parentId = _currentScene->_sceneId; int buttonId = lift_getButtonIdN(_lastLiftButton->_statics->_staticsId); @@ -428,6 +429,8 @@ void FullpipeEngine::lift_goAnimation() { if (_lastLiftButton) { delete mq; _aniMan->_flags |= 1; + + return; } } } |