equal
deleted
inserted
replaced
3408 SubtractMoneyFromPlayerFract(v->owner, cost); |
3408 SubtractMoneyFromPlayerFract(v->owner, cost); |
3409 |
3409 |
3410 InvalidateWindow(WC_VEHICLE_DETAILS, v->index); |
3410 InvalidateWindow(WC_VEHICLE_DETAILS, v->index); |
3411 InvalidateWindowClasses(WC_TRAINS_LIST); |
3411 InvalidateWindowClasses(WC_TRAINS_LIST); |
3412 } |
3412 } |
|
3413 } else if (IsTrainEngine(v)) { |
|
3414 /* Also age engines that aren't front engines */ |
|
3415 AgeVehicle(v); |
3413 } |
3416 } |
3414 } |
3417 } |
3415 |
3418 |
3416 void TrainsYearlyLoop() |
3419 void TrainsYearlyLoop() |
3417 { |
3420 { |