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)
2018-03-08 19:42:40 -05:00
parent 5c87b8152d
commit 876335bb54
3 changed files with 17 additions and 8 deletions
+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;