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.cpp | |
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.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index e6ccce323..b902014fa 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -251,6 +251,8 @@ void AfterLoadVehicles() Vehicle *rotor = shadow->next; rotor->cur_image = GetRotorImage(v); } + + UpdateAircraftCache(v); } break; default: break; |