- SW: Fix tank tracks not working.

* Originating from 0c146e7ccb.
This commit is contained in:
Mitchell Richters 2023-01-02 14:39:43 +11:00
parent 7760eff4ba
commit 56d9ccfc9c

View file

@ -2351,7 +2351,7 @@ void DoTankTreads(PLAYER* pp)
} }
} }
SP_TAG5(actor) = vel; actor->vel.X = vel;
} }
else if (actor->spr.statnum == STAT_FLOOR_PAN) 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) else if (actor->spr.statnum == STAT_CEILING_PAN)
{ {
@ -2393,7 +2393,7 @@ void DoTankTreads(PLAYER* pp)
} }
} }
SP_TAG5(actor) = vel; actor->vel.X = vel;
} }
} }
} }