aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-21 09:10:31 +0000
committerPaul Gilbert2007-12-21 09:10:31 +0000
commitdca07a9d14293333d9967fdfad530ac215a72159 (patch)
treeaf9deea15e350ab3457625c3e056b258eefaaa20
parent5c5e5cddef6ff331732639d33a8f2cacbab64685 (diff)
downloadscummvm-rg350-dca07a9d14293333d9967fdfad530ac215a72159.tar.gz
scummvm-rg350-dca07a9d14293333d9967fdfad530ac215a72159.tar.bz2
scummvm-rg350-dca07a9d14293333d9967fdfad530ac215a72159.zip
Bugfix to prevent axe animation appearing in room 6 when returning there after the fight
svn-id: r29937
-rw-r--r--engines/lure/fights.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lure/fights.cpp b/engines/lure/fights.cpp
index dc2e9a74b9..491b221acb 100644
--- a/engines/lure/fights.cpp
+++ b/engines/lure/fights.cpp
@@ -608,6 +608,10 @@ void FightsManager::enemyKilled() {
HotspotData *axeHotspot = res.getHotspot(0x2738);
axeHotspot->roomNumber = PLAYER_ID;
axeHotspot->flags |= HOTSPOTFLAG_FOUND;
+
+ // Prevent the weapon animation being drawn
+ axeHotspot = res.getHotspot(0x440);
+ axeHotspot->layer = 0;
}
}