diff options
author | frosch <frosch@openttd.org> | 2012-01-28 12:08:03 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-01-28 12:08:03 +0000 |
commit | 90c53046c77101c3b6d7ad8e77f79c3cf5ee8da0 (patch) | |
tree | 360248efa1d561d9df0b76d04f2a5f14d4ec61d8 /src/cargotype.h | |
parent | a60f19ae14935e4f68667e67b650219380f5a86f (diff) | |
download | openttd-90c53046c77101c3b6d7ad8e77f79c3cf5ee8da0.tar.xz |
(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15.
Diffstat (limited to 'src/cargotype.h')
-rw-r--r-- | src/cargotype.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index 9521f29d5..b1605fb20 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -59,6 +59,7 @@ struct CargoSpec { uint8 legend_colour; uint8 rating_colour; uint8 weight; ///< Weight of a single unit of this cargo type in 1/16 ton (62.5 kg). + uint16 multiplier; ///< Capacity multiplier for vehicles. (8 fractional bits) uint16 initial_payment; uint8 transit_days[2]; |