diff options
author | Rene Stoeckel <[email protected]> | 2009-12-13 11:21:18 +0000 |
---|---|---|
committer | Rene Stoeckel <[email protected]> | 2009-12-13 11:21:18 +0000 |
commit | 66acc125d0c31336f1deceb90efbec9200ee884c (patch) | |
tree | 281b46e394ac7fc40617f217cce1ad59b9aa7bc2 /src/jake2 | |
parent | 6fe6f8fc29f1a2e0f6913f8fdc600e0f8ace8c40 (diff) |
unused variables
Diffstat (limited to 'src/jake2')
-rw-r--r-- | src/jake2/client/Menu.java | 4 | ||||
-rw-r--r-- | src/jake2/game/monsters/M_Boss2.java | 4 | ||||
-rw-r--r-- | src/jake2/game/monsters/M_Boss31.java | 4 | ||||
-rw-r--r-- | src/jake2/game/monsters/M_Boss32.java | 5 | ||||
-rw-r--r-- | src/jake2/game/monsters/M_Soldier.java | 3 |
5 files changed, 8 insertions, 12 deletions
diff --git a/src/jake2/client/Menu.java b/src/jake2/client/Menu.java index ecb4e3e..7cc6f9c 100644 --- a/src/jake2/client/Menu.java +++ b/src/jake2/client/Menu.java @@ -2,7 +2,7 @@ * Menu.java * Copyright (C) 2004 * - * $Id: Menu.java,v 1.23 2008-03-02 14:56:22 cawe Exp $ + * $Id: Menu.java,v 1.24 2009-12-13 11:20:46 salomo Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -4871,8 +4871,6 @@ public final class Menu extends Key { } public static void SpinControl_Draw(menulist_s s) { - //char buffer[100]; - String buffer; if (s.name != null) { Menu_DrawStringR2LDark(s.x + s.parent.x + LCOLUMN_OFFSET, s.y diff --git a/src/jake2/game/monsters/M_Boss2.java b/src/jake2/game/monsters/M_Boss2.java index c77e6ce..1180a9e 100644 --- a/src/jake2/game/monsters/M_Boss2.java +++ b/src/jake2/game/monsters/M_Boss2.java @@ -19,7 +19,7 @@ */ // Created on 13.11.2003 by RST. -// $Id: M_Boss2.java,v 1.4 2005-11-20 22:18:33 salomo Exp $ +// $Id: M_Boss2.java,v 1.5 2009-12-13 11:21:18 salomo Exp $ package jake2.game.monsters; import jake2.Defines; @@ -547,7 +547,7 @@ public class M_Boss2 { float[] temp = { 0, 0, 0 }; float chance; trace_t tr; - boolean enemy_infront; + int enemy_range; float enemy_yaw; diff --git a/src/jake2/game/monsters/M_Boss31.java b/src/jake2/game/monsters/M_Boss31.java index 03a250f..fd75a0b 100644 --- a/src/jake2/game/monsters/M_Boss31.java +++ b/src/jake2/game/monsters/M_Boss31.java @@ -19,7 +19,7 @@ */ // Created on 13.11.2003 by RST. -// $Id: M_Boss31.java,v 1.4 2005-11-20 22:18:33 salomo Exp $ +// $Id: M_Boss31.java,v 1.5 2009-12-13 11:21:18 salomo Exp $ package jake2.game.monsters; import jake2.Defines; @@ -773,7 +773,7 @@ public class M_Boss31 { float[] temp = { 0, 0, 0 }; float chance; trace_t tr; - boolean enemy_infront; + int enemy_range; float enemy_yaw; diff --git a/src/jake2/game/monsters/M_Boss32.java b/src/jake2/game/monsters/M_Boss32.java index a27bb15..cfe9e49 100644 --- a/src/jake2/game/monsters/M_Boss32.java +++ b/src/jake2/game/monsters/M_Boss32.java @@ -19,7 +19,7 @@ */ // Created on 13.11.2003 by RST. -// $Id: M_Boss32.java,v 1.4 2005-11-20 22:18:33 salomo Exp $ +// $Id: M_Boss32.java,v 1.5 2009-12-13 11:21:18 salomo Exp $ package jake2.game.monsters; import jake2.Defines; @@ -1756,7 +1756,7 @@ public class M_Boss32 { float[] temp = { 0, 0, 0 }; float chance; trace_t tr; - boolean enemy_infront; + int enemy_range; float enemy_yaw; @@ -1777,7 +1777,6 @@ public class M_Boss32 { return false; } - enemy_infront = GameUtil.infront(self, self.enemy); enemy_range = GameUtil.range(self, self.enemy); Math3D.VectorSubtract(self.enemy.s.origin, self.s.origin, temp); enemy_yaw = Math3D.vectoyaw(temp); diff --git a/src/jake2/game/monsters/M_Soldier.java b/src/jake2/game/monsters/M_Soldier.java index 42dad51..b9e4a2d 100644 --- a/src/jake2/game/monsters/M_Soldier.java +++ b/src/jake2/game/monsters/M_Soldier.java @@ -19,7 +19,7 @@ */ // Created on 13.11.2003 by RST. -// $Id: M_Soldier.java,v 1.4 2005-11-20 22:18:33 salomo Exp $ +// $Id: M_Soldier.java,v 1.5 2009-12-13 11:21:18 salomo Exp $ package jake2.game.monsters; import jake2.Defines; @@ -1331,7 +1331,6 @@ public class M_Soldier { || self.monsterinfo.currentmove == soldier_move_walk2 || self.monsterinfo.currentmove == soldier_move_start_run) { self.monsterinfo.currentmove = soldier_move_run; - int a = 2; } else { self.monsterinfo.currentmove = soldier_move_start_run; } |