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:
Michael Cook (mackal) committed 2018-03-08 19:42:40 -05:00
1 parent 5c87b8152d
commit 876335bb54
3 files changed
+17 -8

No files matched your search

+4
View File
@@ -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;