diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 0a88f3c53..178596a4f 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -971,7 +971,7 @@ void CheckVehicleBreakdown(Vehicle *v) void AgeVehicle(Vehicle *v) { - if (v->age < 65535) v->age++; + if (v->age < MAX_DAY) v->age++; int age = v->age - v->max_age; if (age == DAYS_IN_LEAP_YEAR * 0 || age == DAYS_IN_LEAP_YEAR * 1 || |