diff options
author | frosch <frosch@openttd.org> | 2009-02-01 17:14:39 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-02-01 17:14:39 +0000 |
commit | 61a893d6fd341515c5d0fea254c5ea25849afa58 (patch) | |
tree | c6c194df7208fda252250f6a43df63be15b1bd2d /src/bridge_gui.cpp | |
parent | be395d0f3dfb525c599fc245498bb8af0437ba44 (diff) | |
download | openttd-61a893d6fd341515c5d0fea254c5ea25849afa58.tar.xz |
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
Diffstat (limited to 'src/bridge_gui.cpp')
-rw-r--r-- | src/bridge_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index 21f3c5528..5ebc36f54 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -165,7 +165,7 @@ public: const BridgeSpec *b = this->bridges->Get(i)->spec; SetDParam(2, this->bridges->Get(i)->cost); - SetDParam(1, b->speed * 10 / 16); + SetDParam(1, b->speed); SetDParam(0, b->material); DrawSprite(b->sprite, b->pal, 3, y); |