Improve warning message reporting broken hardwired links
authorterencehill <piuntn@gmail.com>
Sat, 13 Oct 2018 13:55:21 +0000 (15:55 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 13 Oct 2018 13:55:21 +0000 (15:55 +0200)
qcsrc/server/bot/default/waypoints.qc

index 2ea30b5..6991ff0 100644 (file)
@@ -902,7 +902,7 @@ void waypoint_load_or_remove_links_hardwired(bool removal_mode)
                        if(!found)
                        {
                                if(!removal_mode)
-                                       LOG_INFO("NOTICE: Can not find waypoint at ", vtos(wp_from_pos), ". Path skipped");
+                                       LOG_INFO("NOTICE: Can not find origin waypoint for the hardwired link ", s, ". Path skipped");
                                continue;
                        }
                }
@@ -924,7 +924,7 @@ void waypoint_load_or_remove_links_hardwired(bool removal_mode)
                if(!found)
                {
                        if(!removal_mode)
-                               LOG_INFO("NOTICE: Can not find waypoint at ", vtos(wp_to_pos), ". Path skipped");
+                               LOG_INFO("NOTICE: Can not find destination waypoint for the hardwired link ", s, ". Path skipped");
                        continue;
                }