diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Scripting/MapScripts.cpp | 2 |
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) |