mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 15:32:24 +00:00
- 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:
parent
db8a53e7d4
commit
6958098799
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue