- SW: Fix issue with RC tank in $seabase.

* Originated from 8efe6f638b.
* I'm sure this was meant to be 0.05, but became 0.5 by mistake.
* Use something closer to `12800. / 262144.`.
* Fixes #831.
This commit is contained in:
Mitchell Richters 2023-01-02 14:35:04 +11:00
parent db8a53e7d4
commit 6958098799

View file

@ -2686,7 +2686,7 @@ void DoPlayerMoveVehicle(PLAYER* pp)
pp->vect = (pp->vect + (pp->ovect*1))/2; pp->vect = (pp->vect + (pp->ovect*1))/2;
} }
if (abs(pp->vect.X) < 0.5 && abs(pp->vect.Y) < 0.5) if (abs(pp->vect.X) < 0.04883 && abs(pp->vect.Y) < 0.04883)
pp->vect.X = pp->vect.Y = 0; pp->vect.X = pp->vect.Y = 0;
pp->lastcursector = pp->cursector; pp->lastcursector = pp->cursector;