diff options
author | Holger Zickner <[email protected]> | 2004-10-07 14:13:07 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-10-07 14:13:07 +0000 |
commit | 5a89f0f1e1bc7abd8e75b02fb26fb93f39006e96 (patch) | |
tree | 7b74a0f5c7c04eceb23acb24fdbeacb958dfbc59 /src/jake2/client/M.java | |
parent | 8ad645f69e8aea3d8a8a4b601e3f940165ad9041 (diff) |
remove some unreferenced functions
Diffstat (limited to 'src/jake2/client/M.java')
-rw-r--r-- | src/jake2/client/M.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jake2/client/M.java b/src/jake2/client/M.java index 2ea0d01..602b222 100644 --- a/src/jake2/client/M.java +++ b/src/jake2/client/M.java @@ -2,7 +2,7 @@ * M.java * Copyright (C) 2003 * - * $Id: M.java,v 1.5 2004-09-22 19:22:07 salomo Exp $ + * $Id: M.java,v 1.6 2004-10-07 14:13:07 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -491,11 +491,11 @@ public final class M { // it's not a tank // (they spray too much), get mad at them if (((targ.flags & (Defines.FL_FLY | Defines.FL_SWIM)) == (attacker.flags & (Defines.FL_FLY | Defines.FL_SWIM))) - && (Lib.strcmp(targ.classname, attacker.classname) != 0) - && (Lib.strcmp(attacker.classname, "monster_tank") != 0) - && (Lib.strcmp(attacker.classname, "monster_supertank") != 0) - && (Lib.strcmp(attacker.classname, "monster_makron") != 0) - && (Lib.strcmp(attacker.classname, "monster_jorg") != 0)) { + && (!(targ.classname.equals(attacker.classname))) + && (!(attacker.classname.equals("monster_tank"))) + && (!(attacker.classname.equals("monster_supertank"))) + && (!(attacker.classname.equals("monster_makron"))) + && (!(attacker.classname.equals("monster_jorg")))) { if (targ.enemy != null && targ.enemy.client != null) targ.oldenemy = targ.enemy; targ.enemy = attacker; |