]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an unused function
authorterencehill <piuntn@gmail.com>
Wed, 10 Jul 2019 15:11:22 +0000 (17:11 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 10 Jul 2019 15:11:22 +0000 (17:11 +0200)
qcsrc/server/bot/default/waypoints.qc
qcsrc/server/bot/default/waypoints.qh

index edcfde35e223aff0ea44594ff7a603f795a6d1d9..6a9dfc9256981cc43edf22730d570429458e9bd3 100644 (file)
@@ -1289,23 +1289,6 @@ bool waypoint_load_links()
        return true;
 }
 
-
-void waypoint_remove_hardwiredlinks()
-{
-       IL_EACH(g_waypoints, waypoint_has_hardwiredlinks(it),
-       {
-               if (it.wphw00) { waypoint_removelink(it, it.wphw00); it.wphw00 = NULL; }
-               if (it.wphw01) { waypoint_removelink(it, it.wphw01); it.wphw01 = NULL; }
-               if (it.wphw02) { waypoint_removelink(it, it.wphw02); it.wphw02 = NULL; }
-               if (it.wphw03) { waypoint_removelink(it, it.wphw03); it.wphw03 = NULL; }
-               if (it.wphw04) { waypoint_removelink(it, it.wphw04); it.wphw04 = NULL; }
-               if (it.wphw05) { waypoint_removelink(it, it.wphw05); it.wphw05 = NULL; }
-               if (it.wphw06) { waypoint_removelink(it, it.wphw06); it.wphw06 = NULL; }
-               if (it.wphw07) { waypoint_removelink(it, it.wphw07); it.wphw07 = NULL; }
-               waypoint_setupmodel(it);
-       });
-}
-
 void waypoint_load_hardwiredlinks()
 {
        string s;
index 8af0779d625e7eb090c472015461ecc8718e9716..cf4f4c182ef0b5e7f670cc2346cd36d50f46ac04 100644 (file)
@@ -83,7 +83,6 @@ void botframe_showwaypointlinks();
 float waypoint_loadall();
 bool waypoint_load_links();
 void waypoint_load_hardwiredlinks();
-void waypoint_remove_hardwiredlinks();
 
 void waypoint_spawn_fromeditor(entity pl, bool at_crosshair, bool is_jump_wp);
 entity waypoint_spawn(vector m1, vector m2, float f);