From 9ef83821bc67567400786e432035d46d1b81c2f4 Mon Sep 17 00:00:00 2001 From: Samual Date: Wed, 11 Apr 2012 18:10:39 -0400 Subject: [PATCH] Miscellaneous stuff --- qcsrc/server/mutators/gamemode_ctf.qc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index dc75e1764..b05e8da3c 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -566,12 +566,10 @@ void ctf_CheckStalemate(void) if not(wpforenemy_announced) { FOR_EACH_REALPLAYER(tmp_entity) - { if(tmp_entity.flagcarried) centerprint(tmp_entity, "Stalemate! Enemies can now see you on radar!"); else centerprint(tmp_entity, "Stalemate! Flag carriers can now be seen by enemies on radar!"); - } wpforenemy_announced = TRUE; } @@ -587,7 +585,6 @@ void ctf_FlagDamage(entity inflictor, entity attacker, float damage, float death ctf_CheckFlagReturn(self, RETURN_NEEDKILL); return; } - if(autocvar_g_ctf_flag_return_damage) { // reduce health and check if it should be returned @@ -646,7 +643,7 @@ void ctf_FlagThink() case FLAG_DROPPED: { if(autocvar_g_ctf_flag_dropped_floatinwater && (self.flags & FL_INWATER)) - self.velocity_z = autocvar_g_ctf_flag_dropped_floatinwater; + self.velocity_z = autocvar_g_ctf_flag_dropped_floatinwater; if(autocvar_g_ctf_flag_return_dropped) { @@ -791,12 +788,6 @@ void ctf_FlagTouch() } break; } - - default: // this should never happen - { - dprint("Touch: Flag exists with no status?\n"); - break; - } } } -- 2.39.2