mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Repair so that mobs that are fleeing or feared use FixZ.
This commit is contained in:
+3
-2
@@ -495,7 +495,8 @@ bool Mob::MakeNewPositionAndSendUpdate(float x, float y, float z, int speed, boo
|
||||
m_Position.y = new_y;
|
||||
m_Position.z = new_z;
|
||||
|
||||
if(fix_z_timer.Check() && !this->IsEngaged())
|
||||
if(fix_z_timer.Check() &&
|
||||
(!this->IsEngaged() || flee_mode || currently_fleeing))
|
||||
this->FixZ();
|
||||
|
||||
tar_ndx++;
|
||||
@@ -1129,4 +1130,4 @@ void NPC::SaveGuardSpotCharm()
|
||||
void NPC::RestoreGuardSpotCharm()
|
||||
{
|
||||
m_GuardPoint = m_GuardPointSaved;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user