mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Fix warning
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user