From 8e26cfb157420959fe3cde0c511d81089335fb74 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 10 Dec 2006 19:00:06 +0000 Subject: (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. --- train.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train.h') 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 */ -- cgit v1.2.3-54-g00ecf