]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Apply color associated to hardwired waypoints on waypoints load
authorterencehill <piuntn@gmail.com>
Mon, 7 Aug 2017 11:32:42 +0000 (13:32 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 7 Aug 2017 11:32:42 +0000 (13:32 +0200)
qcsrc/server/bot/default/waypoints.qc

index 824aab23f38d2143cfde4860ef850166c110becd..7c9711a38de3d1a9c134695b85b3c6fbc6d2ba7b 100644 (file)
@@ -854,6 +854,8 @@ void waypoint_load_or_remove_links_hardwired(bool removal_mode)
                waypoint_addlink(wp_from, wp_to);
                wp_from.wphardwired = true;
                wp_to.wphardwired = true;
+               waypoint_setupmodel(wp_from);
+               waypoint_setupmodel(wp_to);
        }
 
        fclose(file);