summaryrefslogtreecommitdiff
path: root/src/engine_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-03-18 19:32:13 +0000
committerfrosch <frosch@openttd.org>2009-03-18 19:32:13 +0000
commit6dd04a9a7804e0d4cecb74dc88dab1fd8c8382a6 (patch)
tree5b3edf89230e9a4cf637194daab09e36914f83e4 /src/engine_base.h
parentea2c50281e34c8c0ade102552fc3d0f336496de9 (diff)
downloadopenttd-6dd04a9a7804e0d4cecb74dc88dab1fd8c8382a6.tar.xz
(svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere.
Diffstat (limited to 'src/engine_base.h')
-rw-r--r--src/engine_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine_base.h b/src/engine_base.h
index a008539b6..3e81ce9aa 100644
--- a/src/engine_base.h
+++ b/src/engine_base.h
@@ -53,6 +53,7 @@ struct Engine : PoolItem<Engine, EngineID, &_Engine_pool> {
CargoID GetDefaultCargoType() const;
bool CanCarryCargo() const;
+ uint GetDisplayDefaultCapacity() const;
Money GetRunningCost() const;
Money GetCost() const;
uint GetDisplayMaxSpeed() const;