diff options
author | peter1138 <peter1138@openttd.org> | 2006-12-10 19:00:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-12-10 19:00:06 +0000 |
commit | 8e26cfb157420959fe3cde0c511d81089335fb74 (patch) | |
tree | 28e500a71ec9ff4ad854a8205f70f73fe5b95f60 /train.h | |
parent | ea518f8d9663b757bdc444aa6255a1c35c22ff0e (diff) | |
download | openttd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |