Make sure we also fix Z when mobs flee up/down stairs

This commit is contained in:
Akkadius 2017-06-28 16:43:38 -05:00
parent 09ccd23d0b
commit 4d2825d817

View File

@ -743,6 +743,10 @@ void Client::AI_Process()
if(RuleB(Combat, EnableFearPathing)){
if(currently_fleeing) {
if (fix_z_timer_engaged.Check())
this->FixZ();
if(IsRooted()) {
//make sure everybody knows were not moving, for appearance sake
if(IsMoving())
@ -782,6 +786,7 @@ void Client::AI_Process()
}
return;
}
}
}