]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reset knight delayed attack after throwing fireball
authorMario <mario.mario@y7mail.com>
Mon, 29 Apr 2013 00:03:52 +0000 (10:03 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 29 Apr 2013 00:03:52 +0000 (10:03 +1000)
qcsrc/server/monsters/monster/knight.qc

index 29cf88437f181b932905761e3cd67d8c7a6f8336..c1d2763a8d0f77252fee10c776e8598f41611879 100644 (file)
@@ -103,6 +103,9 @@ void knight_fireball()
        
        monster_makevectors(self.enemy);
        
+       self.monster_delayedattack = func_null;
+       self.delay = -1;
+       
        self.effects |= EF_MUZZLEFLASH;
        sound(self, CHAN_WEAPON, "weapons/fireball2.wav", 1, ATTN_NORM);