Mercurial > hg > openttd
changeset 1903:26e95cd38b15 draft
(svn r2409) Missed one _map_owner -> IsTileOwner()
author | tron <tron@openttd.org> |
---|---|
date | Sat, 04 Jun 2005 12:14:51 +0000 |
parents | 8088638e7d4f |
children | c779f640c4ed |
files | rail_cmd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rail_cmd.c +++ b/rail_cmd.c @@ -338,7 +338,7 @@ 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);