aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/game/GameWeapon.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/game/GameWeapon.java')
-rw-r--r--src/jake2/game/GameWeapon.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/GameWeapon.java b/src/jake2/game/GameWeapon.java
index e37867f..e8d48ff 100644
--- a/src/jake2/game/GameWeapon.java
+++ b/src/jake2/game/GameWeapon.java
@@ -19,7 +19,7 @@
*/
// Created on 12.11.2003 by RST.
-// $Id: GameWeapon.java,v 1.3 2004-09-22 19:22:02 salomo Exp $
+// $Id: GameWeapon.java,v 1.4 2005-02-13 19:22:09 salomo Exp $
package jake2.game;
import jake2.Defines;
@@ -42,7 +42,7 @@ public class GameWeapon {
edict_t noise;
if (type == Defines.PNOISE_WEAPON) {
- if (who.client.silencer_shots == 0) {
+ if (who.client.silencer_shots > 0) {
who.client.silencer_shots--;
return;
}