aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRetro-Junk2016-09-28 01:43:12 +0300
committerEugene Sandulenko2016-09-28 08:21:18 +0200
commit8ad7d510291816316480489d76e977a7cf962f1b (patch)
treed1942c0b307622638bb80201931c1ed8d8705128
parent9ca8d6511306724a08318076e74c6f52a7531559 (diff)
downloadscummvm-rg350-8ad7d510291816316480489d76e977a7cf962f1b.tar.gz
scummvm-rg350-8ad7d510291816316480489d76e977a7cf962f1b.tar.bz2
scummvm-rg350-8ad7d510291816316480489d76e977a7cf962f1b.zip
FULLPIPE: Scene06: Fix unpickable ball
-rw-r--r--engines/fullpipe/scenes/scene06.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp
index cfdc23cb44..9b483a0b3e 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);