Update of /cvsroot/rails/18xx/rails/game/specific/_18EU
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16217/rails/game/specific/_18EU
Modified Files:
StockRound_18EU.java
Log Message:
Fixed looping bug: while() -> if ()
Index: StockRound_18EU.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/specific/_18EU/StockRound_18EU.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** StockRound_18EU.java 19 Jan 2010 20:13:38 -0000 1.33
--- StockRound_18EU.java 22 Jan 2010 21:28:42 -0000 1.34
***************
*** 176,180 ****
// Does the player have enough cash?
! while (playerCash < price) continue;
possibleActions.add(new BuyCertificate(cert, from, price, 1));
--- 176,180 ----
// Does the player have enough cash?
! if (playerCash < price) continue;
possibleActions.add(new BuyCertificate(cert, from, price, 1));
|