From: Erik V. <ev...@us...> - 2010-01-17 18:33:16
|
Update of /cvsroot/rails/18xx/rails/ui/swing In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17440/rails/ui/swing Modified Files: GameUIManager.java Log Message: Fix for companies not being able to start at lowest price. Index: GameUIManager.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/ui/swing/GameUIManager.java,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** GameUIManager.java 14 Jan 2010 20:49:22 -0000 1.33 --- GameUIManager.java 17 Jan 2010 18:32:46 -0000 1.34 *************** *** 462,466 **** int index = dialog.getSelectedOption(); ! if (index > 0) { int price = action.getStartPrices()[index]; action.setStartPrice(price); --- 462,466 ---- int index = dialog.getSelectedOption(); ! if (index >= 0) { int price = action.getStartPrices()[index]; action.setStartPrice(price); |