summaryrefslogtreecommitdiff
path: root/src/engine_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-10-31 17:48:09 +0000
committerfrosch <frosch@openttd.org>2009-10-31 17:48:09 +0000
commit67cae40ec158c5df92348ce37d3ed2832abd5426 (patch)
treeacc65e62de519d9e63a268178dbe5df45192e905 /src/engine_base.h
parent4ee589d86d02f6e320f195fc1b4e2667853a01ec (diff)
downloadopenttd-67cae40ec158c5df92348ce37d3ed2832abd5426.tar.xz
(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides.
Diffstat (limited to 'src/engine_base.h')
-rw-r--r--src/engine_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_base.h b/src/engine_base.h
index 82022a145..f3a819277 100644
--- a/src/engine_base.h
+++ b/src/engine_base.h
@@ -73,7 +73,7 @@ struct Engine : EnginePool::PoolItem<&_engine_pool> {
}
bool CanCarryCargo() const;
- uint GetDisplayDefaultCapacity() const;
+ uint GetDisplayDefaultCapacity(uint16 *mail_capacity = NULL) const;
Money GetRunningCost() const;
Money GetCost() const;
uint GetDisplayMaxSpeed() const;