Diagonal movement GeoEngine.
This commit is contained in:
@@ -97,8 +97,7 @@ import com.l2jmobius.gameserver.datatables.AugmentationData;
|
||||
import com.l2jmobius.gameserver.datatables.BotReportTable;
|
||||
import com.l2jmobius.gameserver.datatables.EventDroplist;
|
||||
import com.l2jmobius.gameserver.datatables.ItemTable;
|
||||
import com.l2jmobius.gameserver.geodata.GeoData;
|
||||
import com.l2jmobius.gameserver.geodata.pathfinding.PathFinding;
|
||||
import com.l2jmobius.gameserver.geoengine.GeoEngine;
|
||||
import com.l2jmobius.gameserver.handler.ConditionHandler;
|
||||
import com.l2jmobius.gameserver.handler.DailyMissionHandler;
|
||||
import com.l2jmobius.gameserver.handler.EffectHandler;
|
||||
@@ -281,12 +280,8 @@ public class GameServer
|
||||
|
||||
printSection("Geodata");
|
||||
long geodataMemory = getUsedMemoryMB();
|
||||
GeoData.getInstance();
|
||||
if (Config.PATHFINDING > 0)
|
||||
{
|
||||
PathFinding.getInstance();
|
||||
}
|
||||
geodataMemory -= getUsedMemoryMB();
|
||||
GeoEngine.getInstance();
|
||||
geodataMemory = getUsedMemoryMB() - geodataMemory;
|
||||
if (geodataMemory < 0)
|
||||
{
|
||||
geodataMemory = 0;
|
||||
|
Reference in New Issue
Block a user