From d4ea140ff8a8893dbefe773849d06ae70317a1b8 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 26 Mar 2010 23:19:11 +0100 Subject: [PATCH] fixing the strange screwup in w_campingrifle.qc --- qcsrc/server/w_campingrifle.qc | 81 ---------------------------------- 1 file changed, 81 deletions(-) diff --git a/qcsrc/server/w_campingrifle.qc b/qcsrc/server/w_campingrifle.qc index 39e271886..e83137696 100644 --- a/qcsrc/server/w_campingrifle.qc +++ b/qcsrc/server/w_campingrifle.qc @@ -239,84 +239,3 @@ float w_campingrifle(float req) return TRUE; }; #endif -Ç[Kg|º^fÆ,9Þ@ª w_deathtypestring = "sniped themself somehow"; - } - else if (req == WR_KILLMESSAGE) - { - if(w_deathtype & HITTYPE_SECONDARY) - { - if(w_deathtype & HITTYPE_BOUNCE) - w_deathtypestring = "failed to hide from #'s bullet hail"; - else - w_deathtypestring = "died in #'s bullet hail"; - } - else - { - if(w_deathtype & HITTYPE_BOUNCE) - { - // TODO special headshot message here too? - w_deathtypestring = "failed to hide from #'s rifle"; - } - else - { - if(w_deathtype & HITTYPE_HEADSHOT) - w_deathtypestring = "got hit in the head by #"; - else - w_deathtypestring = "was sniped by #"; - } - } - } - else if (req == WR_RELOAD) - { - W_CampingRifle_Reload(); - } - else if (req == WR_RESETPLAYER) - { - self.campingrifle_accumulator = time - cvar("g_balance_campingrifle_bursttime"); - self.campingrifle_bulletcounter = cvar("g_balance_campingrifle_magazinecapacity"); - W_CampingRifle_CheckMaxBullets(FALSE); - } - return TRUE; -}; -#endif -tì‡{³ ío¸?~á…Ñ w_deathtypestring = "sniped themself somehow"; - } - else if (req == WR_KILLMESSAGE) - { - if(w_deathtype & HITTYPE_SECONDARY) - { - if(w_deathtype & HITTYPE_BOUNCE) - w_deathtypestring = "failed to hide from #'s bullet hail"; - else - w_deathtypestring = "died in #'s bullet hail"; - } - else - { - if(w_deathtype & HITTYPE_BOUNCE) - { - // TODO special headshot message here too? - w_deathtypestring = "failed to hide from #'s rifle"; - } - else - { - if(w_deathtype & HITTYPE_HEADSHOT) - w_deathtypestring = "got hit in the head by #"; - else - w_deathtypestring = "was sniped by #"; - } - } - } - else if (req == WR_RELOAD) - { - W_CampingRifle_Reload(); - } - else if (req == WR_RESETPLAYER) - { - self.campingrifle_accumulator = time - cvar("g_balance_campingrifle_bursttime"); - self.campingrifle_bulletcounter = cvar("g_balance_campingrifle_magazinecapacity"); - W_CampingRifle_CheckMaxBullets(FALSE); - } - return TRUE; -}; -#endif - \ No newline at end of file -- 2.39.2