From 4296a32f606183189acafbaf90f952a0ee385b8f Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 8 Jan 2009 14:41:01 -0600 Subject: *Try to fix the bug that creatures still "spark" after respawn. --HG-- branch : trunk --- src/game/Creature.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 629b5ec6d43..081f1160b1a 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1155,6 +1155,7 @@ void Creature::SetLootRecipient(Unit *unit) if (!unit) { m_lootRecipient = 0; + RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE); RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_OTHER_TAGGER); return; } -- cgit v1.2.3