Fix warning

This commit is contained in:
Gacko
2015-05-03 12:17:58 +02:00
parent a2f3f80287
commit 007ab5b801

View File

@@ -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)