tile-animation: let tiles.rc determine coal plant's smoke animation

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@757 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-07-20 21:34:58 +00:00
parent 1ce5080705
commit ba7ade2fa4
4 changed files with 18 additions and 14 deletions

View file

@ -45,6 +45,10 @@ public class Tiles
if (tmp != null) {
tiles[i].animNext = get(Integer.parseInt(tmp));
}
tmp = tiles[i].getAttribute("onpower");
if (tmp != null) {
tiles[i].onPower = get(Integer.parseInt(tmp));
}
}
}