Update of /cvsroot/rails/18xx/rails/game
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5650/rails/game
Modified Files:
StockRound.java
Log Message:
Fixed stock round undo bug (ID: 2954657)
Index: StockRound.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/StockRound.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** StockRound.java 17 Feb 2010 22:01:44 -0000 1.63
--- StockRound.java 24 Feb 2010 18:08:36 -0000 1.64
***************
*** 95,98 ****
--- 95,101 ----
public boolean setPossibleActions() {
+ // fix of the forced undo bug
+ currentPlayer = getCurrentPlayer();
+
boolean passAllowed = false;
|