From: Erik V. <ev...@us...> - 2010-03-13 18:43:09
|
Update of /cvsroot/rails/18xx/rails/game/specific/_1856 In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20206/rails/game/specific/_1856 Modified Files: PublicCompany_CGR.java Log Message: Strengthen check on no-share-price-change when withholding Index: PublicCompany_CGR.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/specific/_1856/PublicCompany_CGR.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PublicCompany_CGR.java 31 Jan 2010 22:22:32 -0000 1.8 --- PublicCompany_CGR.java 13 Mar 2010 18:42:59 -0000 1.9 *************** *** 96,100 **** public void withhold(int amount) { if (amount > 0) new CashMove(bank, this, amount); ! if (hasStockPrice && !runsWithBorrowedTrain()) { stockMarket.withhold(this); } --- 96,100 ---- public void withhold(int amount) { if (amount > 0) new CashMove(bank, this, amount); ! if (hasStockPrice && canSharePriceVary.booleanValue()) { stockMarket.withhold(this); } |