]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an useless placeholder waypoint
authorterencehill <piuntn@gmail.com>
Sun, 11 Dec 2016 13:20:34 +0000 (14:20 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 11 Dec 2016 13:20:34 +0000 (14:20 +0100)
qcsrc/common/mutators/mutator/waypoints/all.inc
qcsrc/server/mutators/mutator/gamemode_assault.qc

index 0fb3d6139c64ff3f60750188f0a501a2c821f548..73f22b836ce6485c9a5e9164e96bf5238a14e95e 100644 (file)
@@ -14,7 +14,6 @@ REGISTER_WAYPOINT(RaceFinish, _("Finish"), '1 0.5 0', 1);
 REGISTER_WAYPOINT(RaceStart, _("Start"), '1 0.5 0', 1);
 REGISTER_WAYPOINT(RaceStartFinish, _("Start"), '1 0.5 0', 1);
 
-REGISTER_WAYPOINT(Assault, _("<placeholder>"), '1 0.5 0', 1);
 REGISTER_WAYPOINT(AssaultDefend, _("Defend"), '1 0.5 0', 1);
 REGISTER_WAYPOINT(AssaultDestroy, _("Destroy"), '1 0.5 0', 1);
 REGISTER_WAYPOINT(AssaultPush, _("Push"), '1 0.5 0', 1);
index d92e77158c3f8b18e011f9347c97df0e3c9edac7..2e23264248039a27e61bcc223e5c9240b508e7f7 100644 (file)
@@ -106,7 +106,7 @@ void target_objective_decrease_activate(entity this)
                                it.sprite = NULL; // TODO: just unsetting it?!
                }
 
-               spr = WaypointSprite_SpawnFixed(WP_Assault, 0.5 * (it.absmin + it.absmax), it, assault_sprite, RADARICON_OBJECTIVE);
+               spr = WaypointSprite_SpawnFixed(WP_AssaultDefend, 0.5 * (it.absmin + it.absmax), it, assault_sprite, RADARICON_OBJECTIVE);
                spr.assault_decreaser = this;
                spr.waypointsprite_visible_for_player = assault_decreaser_sprite_visible;
                spr.classname = "sprite_waypoint";