From 4b4a2b4146a1b1fe228613952426e79c83abaf31 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 11 Dec 2016 14:20:34 +0100 Subject: [PATCH] Remove an useless placeholder waypoint --- qcsrc/common/mutators/mutator/waypoints/all.inc | 1 - qcsrc/server/mutators/mutator/gamemode_assault.qc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/common/mutators/mutator/waypoints/all.inc b/qcsrc/common/mutators/mutator/waypoints/all.inc index 0fb3d6139..73f22b836 100644 --- a/qcsrc/common/mutators/mutator/waypoints/all.inc +++ b/qcsrc/common/mutators/mutator/waypoints/all.inc @@ -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, _(""), '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); diff --git a/qcsrc/server/mutators/mutator/gamemode_assault.qc b/qcsrc/server/mutators/mutator/gamemode_assault.qc index d92e77158..2e2326424 100644 --- a/qcsrc/server/mutators/mutator/gamemode_assault.qc +++ b/qcsrc/server/mutators/mutator/gamemode_assault.qc @@ -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"; -- 2.39.2