Draw black connection if either waypoint is disabled, instead of only the destination

I think this makes a bit more sense
This commit is contained in:
Sally Coolatta 2021-02-03 17:20:32 -05:00
parent 2a2198ade1
commit 68ce8939b9

View file

@ -454,7 +454,7 @@ static void K_DebugWaypointsSpawnLine(waypoint_t *const waypoint1, waypoint_t *c
linkcolour = linkcolours[K_GetWaypointID(waypoint1) % linkcolourssize];
if (!K_GetWaypointIsEnabled(waypoint2))
if (!K_GetWaypointIsEnabled(waypoint1) || !K_GetWaypointIsEnabled(waypoint2))
{
linkcolour = SKINCOLOR_BLACK;
}