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:
parent
682c9964a5
commit
f3af16e2e4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue