1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-23 21:22:46 +01:00

(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.

This commit is contained in:
frosch
2009-02-01 17:14:39 +00:00
parent 317220c2e4
commit de9a6fc90b
13 changed files with 22 additions and 22 deletions

View File

@@ -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);