]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clarify some messages
authorterencehill <piuntn@gmail.com>
Fri, 2 Aug 2019 09:47:39 +0000 (11:47 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 2 Aug 2019 11:42:51 +0000 (13:42 +0200)
qcsrc/server/bot/default/waypoints.qc

index d2d0aa15c86a2aa02399c3058fb57f6eb7668e7d..bb53d61e02345e6af13142e2ad7e8eddbf0daa44 100644 (file)
@@ -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;
                }