T_PolyObjWaypoint: If the polyobject reaches its target exactly, find next waypoint in the same tic

This commit is contained in:
MascaraSnake 2020-05-16 08:49:03 +02:00
parent e422d1fa1d
commit 1057c0f7c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;