equal
deleted
inserted
replaced
218 uint i; |
218 uint i; |
219 |
219 |
220 for (i = daytick; i < total; i += DAY_TICKS) { |
220 for (i = daytick; i < total; i += DAY_TICKS) { |
221 Vehicle *v = GetVehicle(i); |
221 Vehicle *v = GetVehicle(i); |
222 |
222 |
223 if (v->IsValid()) _on_new_vehicle_day_proc[v->type](v); |
223 if (v->IsValid()) { |
|
224 /* Call the 32-day callback if needed */ |
|
225 CheckVehicle32Day(v); |
|
226 _on_new_vehicle_day_proc[v->type](v); |
|
227 } |
224 } |
228 } |
225 } |
229 } |
226 |
230 |
227 void IncreaseDate() |
231 void IncreaseDate() |
228 { |
232 { |