diff options
author | Eugene Sandulenko | 2016-09-06 21:18:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-06 21:30:23 +0200 |
commit | cec1f1336e6253b86d6fedeac015976970daa1f9 (patch) | |
tree | cd0fdce603e4b825a9a2ee57dd18bd2dcacd6001 /engines/fullpipe/scenes | |
parent | 5ccba26383091db0a76d82f8fd8ef2a673c450b0 (diff) | |
download | scummvm-rg350-cec1f1336e6253b86d6fedeac015976970daa1f9.tar.gz scummvm-rg350-cec1f1336e6253b86d6fedeac015976970daa1f9.tar.bz2 scummvm-rg350-cec1f1336e6253b86d6fedeac015976970daa1f9.zip |
FULLPIPE: Further fixes to scene09. Now balls fly as expected
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene09.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/fullpipe/scenes/scene09.cpp b/engines/fullpipe/scenes/scene09.cpp index 39180710c0..f9cf58d9df 100644 --- a/engines/fullpipe/scenes/scene09.cpp +++ b/engines/fullpipe/scenes/scene09.cpp @@ -104,9 +104,7 @@ void scene09_initScene(Scene *sc) { g_vars->scene09_sceneBalls.clear(); - g_vars->scene09_sceneBalls.push_back(new StaticANIObject(sc->getStaticANIObject1ById(ANI_BALL9, -1))); - - StaticANIObject *newball = g_vars->scene09_sceneBalls.front(); + StaticANIObject *newball = new StaticANIObject(sc->getStaticANIObject1ById(ANI_BALL9, -1)); newball->setAlpha(0xc8); for (int i = 0; i < 4; i++) { @@ -343,8 +341,6 @@ void sceneHandler09_ballExplode(uint num) { if (!mq->chain(ball)) delete mq; - - //g_vars->scene09_sceneBalls.pop_back(); } void sceneHandler09_checkHangerCollide() { |