mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
Core/Misc: 3.3.5a fixes
This commit is contained in:
@@ -205,7 +205,7 @@ struct RotfaceHeightCheck
|
||||
|
||||
bool operator()(Creature* stalker) const
|
||||
{
|
||||
return stalker->GetPositionZ() < _rotface->GetPositionZ() + 5.0f;
|
||||
return stalker->GetPositionZ() > _rotface->GetPositionZ() + 5.0f;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@@ -480,8 +480,8 @@ class spell_rotface_ooze_flood : public SpellScriptLoader
|
||||
targets.sort(Trinity::ObjectDistanceOrderPred(GetCaster()));
|
||||
|
||||
// .resize() runs pop_back();
|
||||
if (targets.size() > 4)
|
||||
targets.resize(4);
|
||||
if (targets.size() > 5)
|
||||
targets.resize(5);
|
||||
|
||||
while (targets.size() > 2)
|
||||
targets.pop_front();
|
||||
|
||||
Reference in New Issue
Block a user