Core/Creatures: fixed detection of trigger models
This commit is contained in:
commit
29ec2836da
1 file changed
+1
-1
@@ -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