Changeset - r1903:f39feacd3de9
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-06-04 12:14:51
tron@openttd.org
(svn r2409) Missed one _map_owner -> IsTileOwner()
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rail_cmd.c
Show inline comments
 
@@ -338,7 +338,7 @@ int32 CmdBuildSingleRail(int x, int y, u
 
				return CMD_ERROR;
 
			}
 
			if (m5 & RAIL_TYPE_SPECIAL ||
 
					_map_owner[tile] != _current_player ||
 
					!IsTileOwner(tile, _current_player) ||
 
					(_map3_lo[tile] & 0xFU) != p1) {
 
				// Get detailed error message
 
				return DoCommandByTile(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
0 comments (0 inline, 0 general)