mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
Re-added a check in VM_Move that probably should't have been removed.
This commit is contained in:
parent
d98813f00f
commit
658a96ce19
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue