Update of /cvsroot/rails/18xx/rails/game/specific/_1835
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8160/rails/game/specific/_1835
Modified Files:
StockRound_1835.java
Log Message:
Fix 1856 share price adjustment if multiple 5% shares are sold in one round.
Index: StockRound_1835.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/specific/_1835/StockRound_1835.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** StockRound_1835.java 16 Feb 2010 20:18:25 -0000 1.7
--- StockRound_1835.java 27 Mar 2010 18:27:08 -0000 1.8
***************
*** 34,38 ****
// No more changes if it has already dropped
if (!soldBefore) {
! company.adjustSharePrice (SOLD, 1, gameManager.getStockMarket());
}
}
--- 34,38 ----
// No more changes if it has already dropped
if (!soldBefore) {
! super.adjustSharePrice (company, 1, soldBefore);
}
}
|