diff options
author | rubidium <rubidium@openttd.org> | 2007-09-09 10:13:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-09 10:13:17 +0000 |
commit | 0ca9fd7dc2ff8077c188e000b7569e3ff1072301 (patch) | |
tree | 43502b2af33d4a35c7e2e2fbd6f29b3cc60b4ba8 /src/vehicle.cpp | |
parent | 10ea6cd13c576d2a339d1ac65c8c53d0abdb16be (diff) | |
download | openttd-0ca9fd7dc2ff8077c188e000b7569e3ff1072301.tar.xz |
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
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 4728f10dc..8d257b1a8 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1491,7 +1491,7 @@ void AgeVehicle(Vehicle *v) ShowVehicleGettingOld(v, STR_01A0_IS_GETTING_OLD); } else if (age == 0) { ShowVehicleGettingOld(v, STR_01A1_IS_GETTING_VERY_OLD); - } else if ((age % 366) == 0) { + } else if (age > 0 && (age % 366) == 0) { ShowVehicleGettingOld(v, STR_01A2_IS_GETTING_VERY_OLD_AND); } } |