Correct no next waypoint warning message.

This commit is contained in:
Sryder 2019-06-09 20:37:47 +01:00
parent e9786fa956
commit 379ef52c25

View file

@ -1611,7 +1611,7 @@ static waypoint_t *K_SetupWaypoint(mobj_t *const mobj)
else else
{ {
CONS_Alert( CONS_Alert(
CONS_WARNING, "Waypoint with ID %d has no next waypoint.\n", K_GetWaypointNextID(thiswaypoint)); CONS_WARNING, "Waypoint with ID %d has no next waypoint.\n", K_GetWaypointID(thiswaypoint));
} }
} }
else else