mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Creatures: fixed detection of trigger models
This commit is contained in:
@@ -1470,7 +1470,7 @@ void ObjectMgr::LoadCreatureModelInfo()
|
||||
}
|
||||
|
||||
if (CreatureModelDataEntry const* modelData = sCreatureModelDataStore.LookupEntry(creatureDisplay->ModelId))
|
||||
modelInfo.is_trigger = strstr(modelData->ModelPath, "InvisibleStalker") != nullptr;
|
||||
modelInfo.is_trigger = strstr(modelData->ModelPath, "INVISIBLESTALKER");
|
||||
|
||||
++count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user