mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
T_PolyObjWaypoint: If the polyobject reaches its target exactly, find next waypoint in the same tic
This commit is contained in:
parent
f8dee9c104
commit
bb8ad195c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1648,7 +1648,7 @@ void T_PolyObjWaypoint(polywaypoint_t *th)
|
||||||
dist = 1;
|
dist = 1;
|
||||||
|
|
||||||
// Will the polyobject overshoot its target?
|
// Will the polyobject overshoot its target?
|
||||||
if (speed <= dist)
|
if (speed < dist)
|
||||||
{
|
{
|
||||||
// No. Move towards waypoint
|
// No. Move towards waypoint
|
||||||
fixed_t momx, momy, momz;
|
fixed_t momx, momy, momz;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue