summaryrefslogtreecommitdiffstats
path: root/src/jake2/game
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2005-02-13 19:22:09 +0000
committerRene Stoeckel <[email protected]>2005-02-13 19:22:09 +0000
commit0ebd6b59eec8656be4d73baf19a90d48701d525c (patch)
tree93b704e02cb88d4209aab93ab176e9bf15495b1e /src/jake2/game
parentfcc948b1c78b2ce6b0f3b57cbe4e7bbb9abbe808 (diff)
bug: weapons were not loud enough
Diffstat (limited to 'src/jake2/game')
-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;
}