summaryrefslogtreecommitdiff
path: root/train.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-10 19:00:06 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-10 19:00:06 +0000
commit8e26cfb157420959fe3cde0c511d81089335fb74 (patch)
tree28e500a71ec9ff4ad854a8205f70f73fe5b95f60 /train.h
parentea518f8d9663b757bdc444aa6255a1c35c22ff0e (diff)
downloadopenttd-8e26cfb157420959fe3cde0c511d81089335fb74.tar.xz
(svn r7473) -Fix (r7269): Pass a cargo type to determine the freight weight
multiplier instead of a vehicle. Fixes incorrect display of total train capacity.
Diffstat (limited to 'train.h')
-rw-r--r--train.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/train.h b/train.h
index 318552656..aead2f2ca 100644
--- a/train.h
+++ b/train.h
@@ -222,6 +222,6 @@ uint CountArticulatedParts(EngineID engine_type);
int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped);
void CcCloneTrain(bool success, TileIndex tile, uint32 p1, uint32 p2);
-byte FreightWagonMult(const Vehicle *v);
+byte FreightWagonMult(CargoID cargo);
#endif /* TRAIN_H */