- 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 f431d51c2f
commit 7760eff4ba

View file

@ -2608,7 +2608,7 @@ void DoPlayerMoveVehicle(PLAYER* pp)
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->lastcursector = pp->cursector;