From 658a96ce19a582db506468f79dc96b0695cfe9d5 Mon Sep 17 00:00:00 2001 From: Jordon Moss Date: Thu, 9 Apr 2020 19:02:50 -0300 Subject: [PATCH] Re-added a check in VM_Move that probably should't have been removed. --- source/duke3d/src/gameexec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 990e893fc..1f9884e6a 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -680,7 +680,7 @@ GAMEEXEC_STATIC void VM_Move(void) if (AC_MOVE_ID(vm.pData) == 0 || movflags == 0) { - if (deadflag) + if (deadflag || (vm.pActor->bpos.x != vm.pSprite->x) || (vm.pActor->bpos.y != vm.pSprite->y)) setsprite(vm.spriteNum, &vm.pSprite->pos); return;