[Scummvm-git-logs] scummvm master -> 8ad7d510291816316480489d76e977a7cf962f1b

sev- sev at scummvm.org
Wed Sep 28 08:21:26 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:
8ad7d51029 FULLPIPE: Scene06: Fix unpickable ball


Commit: 8ad7d510291816316480489d76e977a7cf962f1b
    https://github.com/scummvm/scummvm/commit/8ad7d510291816316480489d76e977a7cf962f1b
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-09-28T08:21:18+02:00

Commit Message:
FULLPIPE: Scene06: Fix unpickable ball

Changed paths:
    engines/fullpipe/scenes/scene06.cpp



diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp
index cfdc23c..9b483a0 100644
--- a/engines/fullpipe/scenes/scene06.cpp
+++ b/engines/fullpipe/scenes/scene06.cpp
@@ -261,8 +261,7 @@ void sceneHandler06_buttonPush() {
 
 void sceneHandler06_showNextBall() {
 	if (g_vars->scene06_balls.size()) {
-		g_vars->scene06_currentBall = new StaticANIObject(g_vars->scene06_balls.front());
-		g_vars->scene06_balls.remove_at(0);
+		g_vars->scene06_currentBall = g_vars->scene06_balls.remove_at(0);
 
 		MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC6_SHOWNEXTBALL), 0, 1);
 





More information about the Scummvm-git-logs mailing list