mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
Make sure we also fix Z when mobs flee up/down stairs
This commit is contained in:
parent
09ccd23d0b
commit
4d2825d817
@ -743,6 +743,10 @@ void Client::AI_Process()
|
|||||||
|
|
||||||
if(RuleB(Combat, EnableFearPathing)){
|
if(RuleB(Combat, EnableFearPathing)){
|
||||||
if(currently_fleeing) {
|
if(currently_fleeing) {
|
||||||
|
|
||||||
|
if (fix_z_timer_engaged.Check())
|
||||||
|
this->FixZ();
|
||||||
|
|
||||||
if(IsRooted()) {
|
if(IsRooted()) {
|
||||||
//make sure everybody knows were not moving, for appearance sake
|
//make sure everybody knows were not moving, for appearance sake
|
||||||
if(IsMoving())
|
if(IsMoving())
|
||||||
@ -782,6 +786,7 @@ void Client::AI_Process()
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user