Update of /cvsroot/rails/18xx/rails/ui/swing/hexmap
In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv30026/rails/ui/swing/hexmap
Modified Files:
GUITile.java
Log Message:
Fixed 1835 bug at buying the first 5-train.
Fixed Hamburg tile orientation: can no longer rotate.
Index: GUITile.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/ui/swing/hexmap/GUITile.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** GUITile.java 2 May 2010 20:18:31 -0000 1.24
--- GUITile.java 15 May 2010 19:05:39 -0000 1.25
***************
*** 81,84 ****
--- 81,90 ----
boolean connected;
+
+ int fixedRotation = getTile().getFixedOrientation();
+ if (fixedRotation >= 0) {
+ setRotation (fixedRotation);
+ return true;
+ }
/* Loop through all possible rotations */
|