changeset 2425 | e755ee29133a |
parent 2422 | 897a01f7c624 |
child 2436 | 7d5df545bd5d |
--- a/road_cmd.c Wed Sep 14 17:21:30 2005 +0000 +++ b/road_cmd.c Wed Sep 14 18:03:38 2005 +0000 @@ -662,7 +662,7 @@ return CMD_ERROR; if (flags & DC_EXEC) { - if (_current_player == _local_player) _last_built_road_depot_tile = tile; + if (IsLocalPlayer()) _last_built_road_depot_tile = tile; dep->xy = tile; dep->town_index = ClosestTownFromTile(tile, (uint)-1)->index;