]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bad use of if(void())
authorMario <mario.mario@y7mail.com>
Sat, 26 Jan 2013 03:38:20 +0000 (14:38 +1100)
committerMario <mario.mario@y7mail.com>
Sat, 26 Jan 2013 03:38:20 +0000 (14:38 +1100)
qcsrc/server/w_minstanex.qc

index dd83df6b4fb49339e95f085b8e70f6a5d4d40d12..123f8979e6a1ce76fccd83e74a35801c0b4d5df8 100644 (file)
@@ -27,8 +27,8 @@ void W_MinstaNex_Attack (void)
        }
        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
        }
 
        self.minstanex_lasthit = damage_goodhits;