changeset 2425 | 99e1e8430a28 |
parent 2422 | 914a12dee832 |
child 2436 | 177cb6a8339f |
--- a/rail_cmd.c Wed Sep 14 17:21:30 2005 +0000 +++ b/rail_cmd.c Wed Sep 14 18:03:38 2005 +0000 @@ -696,7 +696,7 @@ return CMD_ERROR; if (flags & DC_EXEC) { - if (_current_player == _local_player) _last_built_train_depot_tile = tile; + if (IsLocalPlayer()) _last_built_train_depot_tile = tile; ModifyTile(tile, MP_SETTYPE(MP_RAILWAY) |