]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Pause until we can load rockets again, once we re-press the alt fire button
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 12 Apr 2011 16:32:53 +0000 (19:32 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 12 Apr 2011 16:32:53 +0000 (19:32 +0300)
qcsrc/server/w_hagar.qc

index c78b7f568b8495844fffec7017c2da25c545e399..dfe1f17260d9a998b7365834e00895732c3dae68 100644 (file)
@@ -148,6 +148,9 @@ void W_Hagar_Attack2_Load (void)
                                self.hagar_load = 0;
                                sound(self, CHAN_WEAPON2, "weapons/hagar_load.wav", VOL_BASE, ATTN_NORM);
 
+                               // pause until we can load rockets again, once we re-press the alt fire button
+                               self.hagar_loadstep = time + autocvar_g_balance_hagar_secondary_load_speed;
+
                                // require letting go of the alt fire button before we can load again
                                self.hagar_loadblock = TRUE;
                        }