Update of /cvsroot/rails/18xx/rails/game
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6921/rails/game
Modified Files:
TrainType.java
Log Message:
All D-trains can be bought via an exchange, not just the first one.
Index: TrainType.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/TrainType.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** TrainType.java 31 Jan 2010 22:22:28 -0000 1.28
--- TrainType.java 4 Feb 2010 22:15:56 -0000 1.29
***************
*** 293,297 ****
*/
public boolean nextCanBeExchanged() {
! return firstCanBeExchanged && numberBoughtFromIPO.intValue() == 0;
}
--- 293,297 ----
*/
public boolean nextCanBeExchanged() {
! return firstCanBeExchanged/* && numberBoughtFromIPO.intValue() == 0*/;
}
|