diff options
Diffstat (limited to 'src/newgrf_engine.h')
-rw-r--r-- | src/newgrf_engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_engine.h b/src/newgrf_engine.h index 017a7e87b..f63b446a6 100644 --- a/src/newgrf_engine.h +++ b/src/newgrf_engine.h @@ -46,7 +46,7 @@ bool UsesWagonOverride(const Vehicle *v); /* Handler to Evaluate callback 36. If the callback fails (i.e. most of the * time) orig_value is returned */ uint GetVehicleProperty(const Vehicle *v, PropertyID property, uint orig_value); -uint GetEngineProperty(EngineID engine, PropertyID property, uint orig_value); +uint GetEngineProperty(EngineID engine, PropertyID property, uint orig_value, const Vehicle *v = NULL); enum VehicleTrigger { VEHICLE_TRIGGER_NEW_CARGO = 0x01, |