aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2005-02-19 23:32:01 +0000
committerRene Stoeckel <[email protected]>2005-02-19 23:32:01 +0000
commitda9a0c2282fb86978da3c17e03d47ded256c1210 (patch)
treee3e91811d28b630cb388554ae84140b5a99c0a14 /src
parent7a0fb114c20563e83b49d72e5dec72ab67aed572 (diff)
fixed power shield bug
Diffstat (limited to 'src')
-rw-r--r--src/jake2/game/GameUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/GameUtil.java b/src/jake2/game/GameUtil.java
index 4631595..c8bf185 100644
--- a/src/jake2/game/GameUtil.java
+++ b/src/jake2/game/GameUtil.java
@@ -19,7 +19,7 @@
*/
// Created on 01.11.2003 by RST.
-// $Id: GameUtil.java,v 1.10 2005-02-19 21:19:23 salomo Exp $
+// $Id: GameUtil.java,v 1.11 2005-02-19 23:32:01 salomo Exp $
package jake2.game;
import jake2.Defines;
@@ -684,7 +684,7 @@ public class GameUtil {
int power = 0;
int power_used;
- if (damage != 0)
+ if (damage == 0)
return 0;
client = ent.client;