diff options
author | tron <tron@openttd.org> | 2005-06-27 06:57:24 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-27 06:57:24 +0000 |
commit | ab7b8b50e34ffe0f0205399fc3a0fcefcff31741 (patch) | |
tree | 25912342dc104ba143e6030a35c59234dac9aef9 /rail_cmd.c | |
parent | 78fed5262724a4521a09fbf921b26a437fdeac41 (diff) | |
download | openttd-ab7b8b50e34ffe0f0205399fc3a0fcefcff31741.tar.xz |
(svn r2492) Remove some pointless casts and fix some nearby indentation
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 0d36421b5..a4ea4c21b 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -663,8 +663,7 @@ int32 CmdBuildTrainDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2) return CMD_ERROR; if (flags & DC_EXEC) { - if (_current_player == _local_player) - _last_built_train_depot_tile = (TileIndex)tile; + if (_current_player == _local_player) _last_built_train_depot_tile = tile; ModifyTile(tile, MP_SETTYPE(MP_RAILWAY) | |