X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_minstanex.qc;h=4031ca8a9d14e53a2bf47569a253237b6dc2f319;hb=334f8247b82a5aba3fe56cbabd59f77bcf0e3d03;hp=aa85079052a933081b0b11e20b737c1919196628;hpb=8c5c39bee4bc48057f5094d635b80a46b060b207;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_minstanex.qc b/qcsrc/server/w_minstanex.qc index aa8507905..4031ca8a9 100644 --- a/qcsrc/server/w_minstanex.qc +++ b/qcsrc/server/w_minstanex.qc @@ -14,7 +14,6 @@ void W_MinstaNex_Attack (void) yoda = 0; damage_goodhits = 0; - headshot = 0; FireRailgunBullet (w_shotorg, w_shotorg + w_shotdir * MAX_SHOT_DISTANCE, 10000, 800, 0, 0, 0, 0, WEP_MINSTANEX); if(g_minstagib) @@ -26,14 +25,10 @@ void W_MinstaNex_Attack (void) { if(yoda && flying) AnnounceTo(self, "yoda"); - if(headshot) - { - AnnounceTo(self, "headshot"); - } if(damage_goodhits && self.minstanex_lasthit) { - if(AnnounceTo(self, "impressive")) - damage_goodhits = 0; // only every second time + AnnounceTo(self, "impressive"); + damage_goodhits = 0; // only every second time } }