rail tool: fix bug where laying rail on moving traffic did not work

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@673 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-05-22 11:33:09 +00:00
parent 682c9964a5
commit f3af16e2e4

View file

@ -139,6 +139,8 @@ class RoadLikeTool extends ToolStroke
int cost = RAIL_COST;
char tile = (char) (eff.getTile(0, 0) & LOMASK);
tile = neutralizeRoad(tile);
switch (tile)
{
case RIVER: // rail on water