diff options
author | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
commit | be6c0584240caf420b2475a0be036391e842e8af (patch) | |
tree | 6111751cf5526e1eb41176782d84766c4e9ed185 /src/station_cmd.cpp | |
parent | 645b6ce77345867fa96861843197481131566c46 (diff) | |
download | openttd-be6c0584240caf420b2475a0be036391e842e8af.tar.xz |
(svn r20211) -Codechange: Indented code should have curly braces around it.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 3f7b9f1c6..55bedff47 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1155,8 +1155,7 @@ CommandCost CmdBuildRailStation(TileIndex tile_org, DoCommandFlag flags, uint32 if (st != NULL) { /* Reuse an existing station. */ - if (st->owner != _current_company) - return_cmd_error(STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION); + if (st->owner != _current_company) return_cmd_error(STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION); if (st->train_station.tile != INVALID_TILE) { /* check if we want to expanding an already existing station? */ |