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; } } }