[Scummvm-git-logs] scummvm master -> dd911c92f60f8df2d2f2b1e0c02e04262143a582

sev- sev at scummvm.org
Fri Aug 26 21:44:49 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
dd911c92f6 FULLPIPE: Make elevators actually work


Commit: dd911c92f60f8df2d2f2b1e0c02e04262143a582
    https://github.com/scummvm/scummvm/commit/dd911c92f60f8df2d2f2b1e0c02e04262143a582
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-08-26T21:44:26+02:00

Commit Message:
FULLPIPE: Make elevators actually work

Changed paths:
    engines/fullpipe/lift.cpp



diff --git a/engines/fullpipe/lift.cpp b/engines/fullpipe/lift.cpp
index d066c89..93bfbaa 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;
 			}
 		}
 	}





More information about the Scummvm-git-logs mailing list