aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGacko <gacko28@gmx.de>2015-05-03 12:17:58 +0200
committerGacko <gacko28@gmx.de>2015-05-03 12:17:58 +0200
commit007ab5b801fd173d35dc6ba7e07b4015e08a4c43 (patch)
tree82b60df2aed42f0b80e21ccb1bb7a9d14d93dca8
parenta2f3f80287b30f6925ca450cedf2de177a751998 (diff)
Fix warning
-rw-r--r--src/server/game/Scripting/MapScripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Scripting/MapScripts.cpp b/src/server/game/Scripting/MapScripts.cpp
index 1db3dbb9f93..deae263e5f8 100644
--- a/src/server/game/Scripting/MapScripts.cpp
+++ b/src/server/game/Scripting/MapScripts.cpp
@@ -820,7 +820,7 @@ void Map::ScriptsProcess()
}
else //check hashmap holders
{
- if (CreatureData const* data = sObjectMgr->GetCreatureData(step.script->CallScript.CreatureEntry))
+ if (sObjectMgr->GetCreatureData(step.script->CallScript.CreatureEntry))
{
auto creatureBounds = _creatureBySpawnIdStore.equal_range(step.script->CallScript.CreatureEntry);
if (creatureBounds.first != creatureBounds.second)