Re-added a check in VM_Move that probably should't have been removed.

This commit is contained in:
Jordon Moss 2020-04-09 19:02:50 -03:00 committed by Christoph Oelckers
parent d98813f00f
commit 658a96ce19

View file

@ -680,7 +680,7 @@ GAMEEXEC_STATIC void VM_Move(void)
if (AC_MOVE_ID(vm.pData) == 0 || movflags == 0) 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); setsprite(vm.spriteNum, &vm.pSprite->pos);
return; return;