(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.
This commit is contained in:
2
train.h
2
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 */
|
||||
|
||||
Reference in New Issue
Block a user