mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Make sure we also fix Z when mobs flee up/down stairs
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user