mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
T_PolyObjWaypoint: If the polyobject reaches its target exactly, find next waypoint in the same tic
This commit is contained in:
parent
e422d1fa1d
commit
1057c0f7c1
1 changed files with 1 additions and 1 deletions
|
@ -1648,7 +1648,7 @@ void T_PolyObjWaypoint(polywaypoint_t *th)
|
|||
dist = 1;
|
||||
|
||||
// Will the polyobject overshoot its target?
|
||||
if (speed <= dist)
|
||||
if (speed < dist)
|
||||
{
|
||||
// No. Move towards waypoint
|
||||
fixed_t momx, momy, momz;
|
||||
|
|
Loading…
Reference in a new issue