From: Erik V. <ev...@us...> - 2010-02-16 20:22:07
|
Update of /cvsroot/rails/18xx/rails/ui/swing/hexmap In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31501/rails/ui/swing/hexmap Modified Files: GUIHex.java Log Message: Minor cleanup Index: GUIHex.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/ui/swing/hexmap/GUIHex.java,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** GUIHex.java 8 Feb 2010 21:24:01 -0000 1.37 --- GUIHex.java 16 Feb 2010 20:21:59 -0000 1.38 *************** *** 327,337 **** City city; Point p; ! homes: for (PublicCompanyI company : homes.keySet()) { if (company.isClosed()) continue; - city = homes.get(company); // Only draw the company name if there isn't yet a token of that company ! if (model.hasTokenOfCompany(company)) continue homes; p = getTokenCenter (1, 0, getHexModel().getCities().size(), city.getNumber()-1); --- 327,337 ---- City city; Point p; ! for (PublicCompanyI company : homes.keySet()) { if (company.isClosed()) continue; // Only draw the company name if there isn't yet a token of that company ! if (model.hasTokenOfCompany(company)) continue; + city = homes.get(company); p = getTokenCenter (1, 0, getHexModel().getCities().size(), city.getNumber()-1); |