Update of /cvsroot/rails/18xx/rails/game
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7346/rails/game
Modified Files:
OperatingRound.java
Log Message:
Fix stall after repaying loans in 1856
Index: OperatingRound.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/OperatingRound.java,v
retrieving revision 1.116
retrieving revision 1.117
diff -C2 -d -r1.116 -r1.117
*** OperatingRound.java 14 Mar 2010 14:21:24 -0000 1.116
--- OperatingRound.java 19 Mar 2010 20:37:53 -0000 1.117
***************
*** 1966,1969 ****
--- 1966,1973 ----
// doneAllowed = true;
// has no effect, overwritten in setPossibleActions(), fix of bug 2954654
+
+ if (operatingCompany.getCurrentNumberOfLoans() == 0) {
+ nextStep();
+ }
return true;
|