Browse Source

cleaning by Kerberos

Sami 16 years ago
parent
commit
3881b5898b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java

@@ -4213,7 +4213,7 @@ public abstract class L2Character extends L2Object
 						_move.onGeodataPathIndex = -1; // Set not on geodata path
 				}
 				
-				if (curX < L2World.MAP_MIN_X || curX > L2World.MAP_MAX_X || curY < L2World.MAP_MIN_Y  || curY > 294912)
+				if (curX < L2World.MAP_MIN_X || curX > L2World.MAP_MAX_X || curY < L2World.MAP_MIN_Y  || curY > L2World.MAP_MAX_Y)
 				{
 					// Temporary fix for character outside world region errors
 					_log.warning("Character "+this.getName()+" outside world area, in coordinates x:"+curX+" y:"+curY);