aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-06-10 22:42:44 +0200
committerShauren <shauren.trinity@gmail.com>2011-06-10 22:42:44 +0200
commit411deceb2adb3d3acd3da98ab258163821c11e80 (patch)
tree08ef72392c50e5811f5d65e5e3c9bd84c283cd79
parent60388f39073ca85f9592b1e67e88e507a1a79421 (diff)
Core/ObjectMgr: Removed obsolete code
-rwxr-xr-xsrc/server/game/Globals/ObjectMgr.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 22876b1467f..d072cd0c970 100755
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -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);