aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/game/GameUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/game/GameUtil.java')
-rw-r--r--src/jake2/game/GameUtil.java12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/jake2/game/GameUtil.java b/src/jake2/game/GameUtil.java
index 5769564..765659d 100644
--- a/src/jake2/game/GameUtil.java
+++ b/src/jake2/game/GameUtil.java
@@ -19,16 +19,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 01.11.2003 by RST.
-// $Id: GameUtil.java,v 1.4 2004-08-20 21:29:57 salomo Exp $
+// $Id: GameUtil.java,v 1.5 2004-08-29 21:39:24 hzi Exp $
package jake2.game;
-import java.sql.Savepoint;
-
-import jake2.Defines;
import jake2.client.M;
import jake2.qcommon.Com;
-import jake2.util.*;
+import jake2.util.Lib;
+import jake2.util.Math3D;
public class GameUtil extends GameBase
{
@@ -165,7 +163,7 @@ public class GameUtil extends GameBase
int i;
edict_t e = null;
- for (i = (int) maxclients.value + 1; i < globals.num_edicts; i++)
+ for (i = (int) maxclients.value + 1; i < num_edicts; i++)
{
e = g_edicts[i];
// the first couple seconds of server time can involve a lot of
@@ -182,7 +180,7 @@ public class GameUtil extends GameBase
gi.error("ED_Alloc: no free edicts");
e = g_edicts[i] = new edict_t(i);
- globals.num_edicts++;
+ num_edicts++;
G_InitEdict(e, i);
return e;
}