From 73223fd1914306e8332b315033633097f78ddabc Mon Sep 17 00:00:00 2001 From: uruk Date: Thu, 20 Feb 2014 23:30:12 +0100 Subject: [PATCH] AVALANCHE: Repair ShootEmUp::define() and ShootEmUp::defineCameo(). --- engines/avalanche/shootemup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp index baf51a2ebd7c..1ade16fe025f 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; } } }