From: Erik V. <ev...@us...> - 2009-09-04 18:40:52
|
Update of /cvsroot/rails/18xx/rails/game/special In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27615/rails/game/special Modified Files: ExchangeForShare.java Log Message: Renamed PublicCompany_State to PublicCompany_CGR. Centralized CGR name there. Moved player limits to GameManager. Some method renaming. Index: ExchangeForShare.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/special/ExchangeForShare.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ExchangeForShare.java 3 Sep 2009 21:36:53 -0000 1.10 --- ExchangeForShare.java 4 Sep 2009 18:40:30 -0000 1.11 *************** *** 65,69 **** } /* Check if the player has room for a share of this company */ ! if (!round.playerMayBuyCompanyShare(player, publicCompany, 1)) { // TODO: Not nice to use '1' here, should be percentage. errMsg = --- 65,69 ---- } /* Check if the player has room for a share of this company */ ! if (!round.mayPlayerBuyCompanyShare(player, publicCompany, 1)) { // TODO: Not nice to use '1' here, should be percentage. errMsg = |