From: Erik V. <ev...@us...> - 2008-10-31 20:38:59
|
Update of /cvsroot/rails/18xx/rails/game In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16369/rails/game Modified Files: StockRound.java Log Message: Fixed bug that prevented company start Index: StockRound.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/StockRound.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** StockRound.java 30 Oct 2008 21:48:20 -0000 1.29 --- StockRound.java 31 Oct 2008 20:38:56 -0000 1.30 *************** *** 176,180 **** } } else if (!comp.hasStarted()) { ! if (comp.hasParPrice()) { price = comp.getParPrice().getPrice() * cert.getShares(); possibleActions.add(new StartCompany(cert, --- 176,180 ---- } } else if (!comp.hasStarted()) { ! if (comp.getParPrice() != null) { price = comp.getParPrice().getPrice() * cert.getShares(); possibleActions.add(new StartCompany(cert, |