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
|
@ -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…
Reference in New Issue