Reload impulse / button
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 14:55:04 +0000 (16:55 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 14:55:04 +0000 (16:55 +0200)
data/qcsrc/server/cl_impulse.qc

index 6c65490..f3d35ea 100644 (file)
@@ -12,6 +12,7 @@
  * 17: throw weapon\r
  * 18: next weapon according to sbar_hudselector 1 list\r
  * 19: previous weapon according to sbar_hudselector 1 list\r
+ * 20: reload if needed\r
  *\r
  * 30 to 39: create waypoints\r
  * 47: clear personal waypoints\r
@@ -95,6 +96,9 @@ void ImpulseCommands (void)
                                case 19:\r
                                        W_PreviousWeapon (1);\r
                                        break;\r
+                               case 20:\r
+                                       W_TriggerReload ();\r
+                                       break;\r
                        }\r
                }\r
                else\r