mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 03:27:32 +00:00
Pull out forced movement from push to it's own function
Had to pull this out so we could process it before mez/stun
This commit is contained in:
1 parent
5c87b8152d
commit
876335bb54
3 files changed
+17
-8
No files matched your search
@@ -762,6 +762,10 @@ bool NPC::Process()
|
||||
reface_timer->Disable();
|
||||
}
|
||||
|
||||
// needs to be done before mez and stun
|
||||
if (ForcedMovement)
|
||||
ProcessForcedMovement();
|
||||
|
||||
if (IsMezzed())
|
||||
return true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user