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/newgrf_station.cpp | |
parent | 645b6ce77345867fa96861843197481131566c46 (diff) | |
download | openttd-be6c0584240caf420b2475a0be036391e842e8af.tar.xz |
(svn r20211) -Codechange: Indented code should have curly braces around it.
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r-- | src/newgrf_station.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 5fb4d587d..5b4fd268c 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -195,8 +195,7 @@ void SetCustomStationSpec(StationSpec *statspec) const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station) { assert(sclass < STAT_CLASS_MAX); - if (station < _station_classes[sclass].stations) - return _station_classes[sclass].spec[station]; + if (station < _station_classes[sclass].stations) return _station_classes[sclass].spec[station]; /* If the custom station isn't defined any more, then the GRF file * probably was not loaded. */ |