diff options
author | peter1138 <peter1138@openttd.org> | 2007-04-18 18:37:40 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-04-18 18:37:40 +0000 |
commit | 41cf2fa69b8ff60f1b1633b68f47434075d00d75 (patch) | |
tree | 5372bc57b04717216dbc5a757c02510f0577042d /src/vehicle.h | |
parent | aa284fd531a9beee460c6c04a51d3738c2e3a19e (diff) | |
download | openttd-41cf2fa69b8ff60f1b1633b68f47434075d00d75.tar.xz |
(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index 8757b14f9..b198d5b5a 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -166,6 +166,7 @@ enum { struct VehicleAir { uint16 crashed_counter; + uint16 cached_max_speed; byte pos; byte previous_pos; StationID targetairport; |