(svn r2132) Fix copy&paste bug in r2131

pull/155/head
tron 20 years ago
parent e82468f627
commit ffe868a38a

@ -305,7 +305,7 @@ int32 CmdBuildSingleRail(int x, int y, uint32 flags,
return DoCommandByTile(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
}
ret = CheckRailSlope(tileh, rail_bit, m5 & RAIL_BIT_MASK, tile);
ret = CheckRailSlope(tileh, rail_bit, 0, tile);
if (ret & CMD_ERROR) return ret;
cost += ret;

Loading…
Cancel
Save