bulldozer: fix adjacent roads/wires/etc. when bulldozing
This patch restores the correct bulldozer behavior regarding adjacent roads, wires, and rails that was lost when the toolstroke series of patches were applied. git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@768 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
060fdc4b94
commit
b52415aa3d
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,7 @@ class Bulldozer extends ToolStroke
|
|||
eff.setTile(0, 0, DIRT);
|
||||
}
|
||||
|
||||
fixZone(eff);
|
||||
eff.spend(1);
|
||||
return;
|
||||
}
|
||||
|
@ -105,6 +106,7 @@ class Bulldozer extends ToolStroke
|
|||
}
|
||||
}
|
||||
}
|
||||
fixBorder(eff, w, h);
|
||||
}
|
||||
|
||||
int checkSize(int tile)
|
||||
|
|
Reference in a new issue