From: <sti...@us...> - 2007-11-25 13:55:19
|
Revision: 3276 http://freecol.svn.sourceforge.net/freecol/?rev=3276&view=rev Author: stiangre Date: 2007-11-25 05:55:24 -0800 (Sun, 25 Nov 2007) Log Message: ----------- Fixes problems after porting r3273. Modified Paths: -------------- freecol/trunk/src/net/sf/freecol/common/model/Tile.java Modified: freecol/trunk/src/net/sf/freecol/common/model/Tile.java =================================================================== --- freecol/trunk/src/net/sf/freecol/common/model/Tile.java 2007-11-25 13:52:14 UTC (rev 3275) +++ freecol/trunk/src/net/sf/freecol/common/model/Tile.java 2007-11-25 13:55:24 UTC (rev 3276) @@ -446,7 +446,7 @@ public boolean check(Unit u, PathNode pathNode) { Map map = getGame().getMap(); - if (pathNode.getTile().getType() == Tile.HIGH_SEAS) { + if (pathNode.getTile().getType().canSailToEurope()) { goal = pathNode; return true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |