From e3b57e7c812da74f0aed7c8b1b50d6760a51b357 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 2 Aug 2019 11:47:39 +0200 Subject: [PATCH] Clarify some messages --- qcsrc/server/bot/default/waypoints.qc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index d2d0aa15c8..bb53d61e02 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -812,7 +812,7 @@ void waypoint_remove_fromeditor(entity pl) if (waypoint_has_hardwiredlinks(e)) { - LOG_INFO("Can't remove a waypoint with hardwired links, remove them with \"wpeditor hardwire\" first\n"); + LOG_INFO("Can't remove a waypoint with hardwired links, remove links with \"wpeditor hardwire\" first\n"); return; } @@ -1469,7 +1469,8 @@ void waypoint_load_hardwiredlinks() if(!found) { - LOG_INFO("NOTICE: Can not find origin waypoint for the hardwired link ", s, ". Path skipped"); + s = strcat(((is_special) ? "special link " : "hardwired link "), s); + LOG_INFO("NOTICE: Can not find origin waypoint of the ", s, ". Path skipped"); continue; } } @@ -1490,7 +1491,8 @@ void waypoint_load_hardwiredlinks() if(!found) { - LOG_INFO("NOTICE: Can not find destination waypoint for the hardwired link ", s, ". Path skipped"); + s = strcat(((is_special) ? "special link " : "hardwired link "), s); + LOG_INFO("NOTICE: Can not find destination waypoint of the ", s, ". Path skipped"); continue; } -- 2.39.2