diff options
author | rubidium <rubidium@openttd.org> | 2007-07-25 00:16:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-25 00:16:30 +0000 |
commit | b29026864567b6a3842bd5b518ac989e5cd29d97 (patch) | |
tree | bc80f8b8cc5d138e78c7794df9fa66f425b589f3 /src/train_gui.cpp | |
parent | e640900e8ac5e35dad2242bda391903a04906852 (diff) | |
download | openttd-b29026864567b6a3842bd5b518ac989e5cd29d97.tar.xz |
(svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r-- | src/train_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp index f4236d84c..efdbcb186 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -69,7 +69,8 @@ void CcCloneTrain(bool success, TileIndex tile, uint32 p1, uint32 p2) * @param len Length measured in 1/8ths of a standard wagon. * @return Number of pixels across. */ -int WagonLengthToPixels(int len) { +int WagonLengthToPixels(int len) +{ return (len * _traininfo_vehicle_width) / 8; } |