Core/ObjectMgr: Removed obsolete code

This commit is contained in:
Shauren
2011-06-10 22:42:44 +02:00
parent 60388f3907
commit 411deceb2a
-6
View File
@@ -1574,12 +1574,6 @@ void ObjectMgr::LoadCreatures()
data.phaseMask = 1;
}
if (data.npcflag & UNIT_NPC_FLAG_SPELLCLICK)
{
sLog->outErrorDb("Table `creature` have creature (GUID: %u Entry: %u) with npcflag UNIT_NPC_FLAG_SPELLCLICK (%u) set, it is expected to be set by code handling `npc_spellclick_spells` content.", guid, data.id, UNIT_NPC_FLAG_SPELLCLICK);
data.npcflag &= ~UNIT_NPC_FLAG_SPELLCLICK;
}
// Add to grid if not managed by the game event or pool system
if (gameEvent == 0 && PoolId == 0)
AddCreatureToGrid(guid, &data);