Commit bb01a139 authored by Dino Bollinger's avatar Dino Bollinger Committed by Evan Ramos
Browse files

WW2GI: Fix tank not facing the player

parent fcc9be6e
......@@ -678,6 +678,10 @@ GAMEEXEC_STATIC void VM_Move(void)
if (deadflag || (vm.pActor->bpos.x != vm.pSprite->x) || (vm.pActor->bpos.y != vm.pSprite->y))
setsprite(vm.spriteNum, &vm.pSprite->pos);
// this fixes the WW2GI tank not facing the player, as it uses move 0
if (WW2GI && movflags & face_player)
VM_FacePlayer(2);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment