From: terencehill Date: Sat, 13 Oct 2018 13:55:21 +0000 (+0200) Subject: Improve warning message reporting broken hardwired links X-Git-Tag: xonotic-v0.8.5~1742^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e1e86a120405111ee185a2f4310982bd6fb5b69;p=xonotic%2Fxonotic-data.pk3dir.git Improve warning message reporting broken hardwired links --- diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index 2ea30b50f..6991ff00f 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -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; }