From: Erik V. <ev...@us...> - 2010-01-16 14:09:59
|
Update of /cvsroot/rails/18xx/rails/game/specific/_1856 In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4766/rails/game/specific/_1856 Modified Files: StockRound_1856.java Log Message: Fixed escrow message Index: StockRound_1856.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/specific/_1856/StockRound_1856.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** StockRound_1856.java 31 Oct 2009 17:08:26 -0000 1.12 --- StockRound_1856.java 16 Jan 2010 14:09:51 -0000 1.13 *************** *** 48,57 **** @Override ! protected CashHolder getSharePriceRecipient(PublicCertificateI cert, int price) { CashHolder recipient; Portfolio oldHolder = (Portfolio) cert.getHolder(); ! if (price != 0 && !cert.getCompany().getName().equalsIgnoreCase(PublicCompany_CGR.NAME) && oldHolder == ipo) { --- 48,57 ---- @Override ! protected CashHolder getSharePriceRecipient(PublicCertificateI cert, int cost) { CashHolder recipient; Portfolio oldHolder = (Portfolio) cert.getHolder(); ! if (cost != 0 && !cert.getCompany().getName().equalsIgnoreCase(PublicCompany_CGR.NAME) && oldHolder == ipo) { *************** *** 67,72 **** && !comp.hasReachedDestination()) { recipient = oldHolder.getOwner(); // i.e. the Bank ! comp.addMoneyInEscrow(price); ReportBuffer.addWaiting(LocalText.getText("HoldMoneyInEscrow", Bank.format(comp.getMoneyInEscrow()), comp.getName() )); --- 67,73 ---- && !comp.hasReachedDestination()) { recipient = oldHolder.getOwner(); // i.e. the Bank ! comp.addMoneyInEscrow(cost); ReportBuffer.addWaiting(LocalText.getText("HoldMoneyInEscrow", + Bank.format(cost), Bank.format(comp.getMoneyInEscrow()), comp.getName() )); |