From ccbcc53bf5a41f950c3cb3e976e53744614c9cce Mon Sep 17 00:00:00 2001 From: Joe0 Date: Wed, 14 Mar 2012 13:54:12 -0500 Subject: [PATCH] Removed unused local variables in GameEngine. --- GameServer/src/org/moparscape/msc/gs/core/GameEngine.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/GameServer/src/org/moparscape/msc/gs/core/GameEngine.java b/GameServer/src/org/moparscape/msc/gs/core/GameEngine.java index e49e66d..12cdb02 100644 --- a/GameServer/src/org/moparscape/msc/gs/core/GameEngine.java +++ b/GameServer/src/org/moparscape/msc/gs/core/GameEngine.java @@ -401,17 +401,13 @@ public final class GameEngine extends Thread { long startTime = System.currentTimeMillis(); int curMemory = (int) (Runtime.getRuntime().totalMemory() - Runtime .getRuntime().freeMemory()) / 1000; - int tileObjs = 0; - int cleaned = 0; for (int i = 0; i < Instance.getWorld().tiles.length; i++) { for (int in = 0; in < Instance.getWorld().tiles[i].length; in++) { ActiveTile tile = Instance.getWorld().tiles[i][in]; if (tile != null) { - tileObjs++; if (!tile.hasGameObject() && !tile.hasItems() && !tile.hasNpcs() && !tile.hasPlayers()) { Instance.getWorld().tiles[i][in] = null; - cleaned++; } } }