Core/Creatures: fixed detection of trigger models

This commit is contained in:
Aokromes
2017-11-26 21:09:50 +00:00

View File

@@ -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;
}