diff options
Diffstat (limited to 'src/date.cpp')
-rw-r--r-- | src/date.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/date.cpp b/src/date.cpp index 6080ab895..23354cde1 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -220,7 +220,11 @@ static void RunVehicleDayProc(uint daytick) for (i = daytick; i < total; i += DAY_TICKS) { Vehicle *v = GetVehicle(i); - if (v->IsValid()) _on_new_vehicle_day_proc[v->type](v); + if (v->IsValid()) { + /* Call the 32-day callback if needed */ + CheckVehicle32Day(v); + _on_new_vehicle_day_proc[v->type](v); + } } } |