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:
jason@long.name 2013-07-22 16:03:33 +00:00
parent 060fdc4b94
commit b52415aa3d

View file

@ -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)