From 68ce8939b97057f66c48ecfc2b0e18f77b272dda Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Wed, 3 Feb 2021 17:20:32 -0500 Subject: [PATCH] Draw black connection if either waypoint is disabled, instead of only the destination I think this makes a bit more sense --- src/k_waypoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_waypoint.c b/src/k_waypoint.c index 3e3dee582..39e9efa5e 100644 --- a/src/k_waypoint.c +++ b/src/k_waypoint.c @@ -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; }