Test fix for heal rotations crashing server surrounding player zoning

This commit is contained in:
Uleat 2017-03-25 15:44:38 -04:00
parent f77f996c3f
commit 9e41795594

View File

@ -646,7 +646,10 @@ void HealRotation::bias_targets()
// attempt to clear invalid target pool entries
m_target_pool.remove(nullptr);
m_target_pool.remove_if([](Mob* l) { return (!IsHealRotationTargetMobType(l)); });
m_target_pool.remove_if([](Mob* l) {
try { return (!IsHealRotationTargetMobType(l)); }
catch (...) { return true; }
});
uint32 sort_type = 0; // debug