From: Erik V. <ev...@us...> - 2010-01-22 21:26:29
|
Update of /cvsroot/rails/18xx/rails/game In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15939/rails/game Modified Files: Tile.java Log Message: Reversed an equals condition to prevent null breaking it Index: Tile.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/Tile.java,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Tile.java 20 Jan 2010 20:41:11 -0000 1.34 --- Tile.java 22 Jan 2010 21:26:22 -0000 1.35 *************** *** 202,206 **** /* Value '99' and '-1' mean 'unlimited' */ unlimited = (quantity == 99 || quantity == UNLIMITED_TILES ! || setTag.getGameOptions().get("UnlimitedTiles").equalsIgnoreCase("yes")); if (unlimited) quantity = UNLIMITED_TILES; /* Multiple base tokens of one company allowed */ --- 202,206 ---- /* Value '99' and '-1' mean 'unlimited' */ unlimited = (quantity == 99 || quantity == UNLIMITED_TILES ! || "yes".equalsIgnoreCase(setTag.getGameOptions().get("UnlimitedTiles"))); if (unlimited) quantity = UNLIMITED_TILES; /* Multiple base tokens of one company allowed */ |