aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-02-20 23:30:12 +0100
committeruruk2014-02-20 23:30:12 +0100
commit73223fd1914306e8332b315033633097f78ddabc (patch)
tree0d173e9b71c7bf8316e96f981ef595175908ce2a
parentacdfcb527294a1b44f647fe4c91115ee0918a6f6 (diff)
downloadscummvm-rg350-73223fd1914306e8332b315033633097f78ddabc.tar.gz
scummvm-rg350-73223fd1914306e8332b315033633097f78ddabc.tar.bz2
scummvm-rg350-73223fd1914306e8332b315033633097f78ddabc.zip
AVALANCHE: Repair ShootEmUp::define() and ShootEmUp::defineCameo().
-rw-r--r--engines/avalanche/shootemup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp
index baf51a2ebd..1ade16fe02 100644
--- a/engines/avalanche/shootemup.cpp
+++ b/engines/avalanche/shootemup.cpp
@@ -218,6 +218,7 @@ void ShootEmUp::define(int16 x, int16 y, byte p, int8 ix, int8 iy, int16 time, b
_sprites[i]._cameo = false;
_sprites[i]._missile = isAMissile;
_sprites[i]._wipe = doWeWipe;
+ return;
}
}
}
@@ -235,6 +236,7 @@ void ShootEmUp::defineCameo(int16 x, int16 y, byte p, int16 time) {
_sprites[i]._cameoFrame = p + 1;
_sprites[i]._missile = false;
_sprites[i]._wipe = false;
+ return;
}
}
}