]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 2ea30b50fe31ab5f742df66155f60c327ce3e073..6991ff00f556225079dfa27ced38714963a231bb 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;
                }