From: Erik V. <ev...@us...> - 2009-10-09 20:20:49
|
Update of /cvsroot/rails/18xx/rails/game/specific/_1856 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3137/rails/game/specific/_1856 Modified Files: PublicCompany_CGR.java Log Message: Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. Index: PublicCompany_CGR.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/specific/_1856/PublicCompany_CGR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PublicCompany_CGR.java 6 Oct 2009 18:34:03 -0000 1.4 --- PublicCompany_CGR.java 9 Oct 2009 20:20:34 -0000 1.5 *************** *** 93,97 **** if (amount > 0) new CashMove(bank, this, amount); if (hasStockPrice && !runsWithBorrowedTrain()) { ! Game.getStockMarket().withhold(this); } } --- 93,97 ---- if (amount > 0) new CashMove(bank, this, amount); if (hasStockPrice && !runsWithBorrowedTrain()) { ! stockMarket.withhold(this); } } |