Skip to content
Permalink
Browse files
Removed unneeded loop from previous commit, copypaste fail from 6.x
  • Loading branch information
Shauren committed Dec 11, 2015
1 parent f727952 commit b3e718dccac3f716f3b57c44e9e11ba886b1208f
Showing 1 changed file with 1 addition and 10 deletions.
@@ -1338,16 +1338,7 @@ void ObjectMgr::LoadCreatureModelInfo()
modelInfo.combat_reach = DEFAULT_COMBAT_REACH;

if (CreatureModelDataEntry const* modelData = sCreatureModelDataStore.LookupEntry(creatureDisplay->ModelId))
{
for (uint32 i = 0; i < 5; ++i)
{
if (strstr(modelData->ModelPath, "InvisibleStalker"))
{
modelInfo.is_trigger = true;
break;
}
}
}
modelInfo.is_trigger = strstr(modelData->ModelPath, "InvisibleStalker") != nullptr;

++count;
}

0 comments on commit b3e718d

Please sign in to comment.