From 41cf2fa69b8ff60f1b1633b68f47434075d00d75 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 18 Apr 2007 18:37:40 +0000 Subject: (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. --- src/vehicle.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vehicle.cpp') 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; -- cgit v1.2.3-54-g00ecf