From 007ab5b801fd173d35dc6ba7e07b4015e08a4c43 Mon Sep 17 00:00:00 2001 From: Gacko Date: Sun, 3 May 2015 12:17:58 +0200 Subject: Fix warning --- src/server/game/Scripting/MapScripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3