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 | de9a6fc90b4360313d8846c7701848b7a0295ba3 (patch) | |
tree | c6c194df7208fda252250f6a43df63be15b1bd2d /src/bridge_gui.cpp | |
parent | 317220c2e4f9d0866553635872cae952616169dc (diff) | |
download | openttd-de9a6fc90b4360313d8846c7701848b7a0295ba3.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); |