Update of /cvsroot/rails/18xx/rails/ui/swing/hexmap
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6021/rails/ui/swing/hexmap
Modified Files:
GUIHex.java
Log Message:
Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play.
Index: GUIHex.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/ui/swing/hexmap/GUIHex.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** GUIHex.java 19 Dec 2009 16:48:31 -0000 1.29
--- GUIHex.java 20 Dec 2009 14:57:57 -0000 1.30
***************
*** 763,769 ****
// + currentTileId + "/" + currentTileOrientation);
! if (GameUIManager.instance != null && GameUIManager.instance.orWindow != null) {
! GameUIManager.instance.orWindow.updateStatus();
! }
} else {
hexMap.repaint(getBounds());
--- 763,769 ----
// + currentTileId + "/" + currentTileOrientation);
! //if (GameUIManager.instance != null && GameUIManager.instance.orWindow != null) {
! // GameUIManager.instance.orWindow.updateStatus();
! //}
} else {
hexMap.repaint(getBounds());
|