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:
parent
1ce5080705
commit
ba7ade2fa4
4 changed files with 18 additions and 14 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue