X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_campingrifle.qc;h=1cd280e007b531f7f23122fbde2c16890e7fa9f3;hb=055a6ffce09487f375ce73f74b0c89da30ac4fce;hp=f14d5689b175116611764c6d26940387e6b5a075;hpb=cd65914fa1f967a8300174edc6bc72bfe69154d4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_campingrifle.qc b/qcsrc/server/w_campingrifle.qc index f14d5689b..1cd280e00 100644 --- a/qcsrc/server/w_campingrifle.qc +++ b/qcsrc/server/w_campingrifle.qc @@ -173,7 +173,6 @@ void W_CampingRifle_BulletHail(float mode, void(void) AttackFunc, float fr, floa } .float bot_secondary_campingriflemooth; -.float sent_campingrifle_scope; float w_campingrifle(float req) { float full; @@ -231,17 +230,6 @@ float w_campingrifle(float req) self.campingrifle_accumulator += cvar("g_balance_campingrifle_secondary_burstcost"); } } - else - { - if(clienttype(self) == CLIENTTYPE_REAL) - if(!self.sent_campingrifle_scope) - { - msg_entity = self; - WriteByte(MSG_ONE, SVC_TEMPENTITY); - WriteByte(MSG_ONE, TE_CSQC_CAMPINGRIFLE_SCOPE); - self.sent_campingrifle_scope = 1; - } - } } } }