tiles.rc: use description numbers from tiles.rc rather than hardcoded numbers

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@821 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-09-01 16:32:25 +00:00
parent 52512c8987
commit 521a41f028
4 changed files with 9 additions and 23 deletions

View file

@ -106,11 +106,6 @@ public class Tiles
{
for (int i = 0; i < tiles.length; i++) {
// do something here
int old = TileConstants.getBuildingId(i);
int n = Tiles.get(i).getDescriptionNumber();
if (old != n) {
System.err.println("Tile "+i+": expected "+old+" but got "+n);
}
}
}
}