Changeset - r1719:798d78d06f35
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-04-24 07:56:18
tron@openttd.org
(svn r2223) When adding tracks to a railway tile reset the ground to bare land, fix for a glitch in r2131
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rail_cmd.c
Show inline comments
 
@@ -343,7 +343,10 @@ int32 CmdBuildSingleRail(int x, int y, u
 
			if (CmdFailed(ret)) return ret;
 
			cost += ret;
 

	
 
			if (flags & DC_EXEC) _map5[tile] = m5 | rail_bit;
 
			if (flags & DC_EXEC) {
 
				_map2[tile] &= ~RAIL_MAP2LO_GROUND_MASK; // Bare land
 
				_map5[tile] = m5 | rail_bit;
 
			}
 
			break;
 

	
 
		case MP_STREET:
0 comments (0 inline, 0 general)