From 56d9ccfc9c7c4d4e5f13509743d961cd60fd5248 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 2 Jan 2023 14:39:43 +1100 Subject: [PATCH] - SW: Fix tank tracks not working. * Originating from 0c146e7ccbff11284caeedab5401ffcf1c00e917. --- source/games/sw/src/player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/games/sw/src/player.cpp b/source/games/sw/src/player.cpp index ee8ad767e..3c5977145 100644 --- a/source/games/sw/src/player.cpp +++ b/source/games/sw/src/player.cpp @@ -2351,7 +2351,7 @@ void DoTankTreads(PLAYER* pp) } } - SP_TAG5(actor) = vel; + actor->vel.X = vel; } else if (actor->spr.statnum == STAT_FLOOR_PAN) { @@ -2372,7 +2372,7 @@ void DoTankTreads(PLAYER* pp) } } - SP_TAG5(actor) = vel; + actor->vel.X = vel; } else if (actor->spr.statnum == STAT_CEILING_PAN) { @@ -2393,7 +2393,7 @@ void DoTankTreads(PLAYER* pp) } } - SP_TAG5(actor) = vel; + actor->vel.X = vel; } } }