summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 8f6edee8b..e5e05a048 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1106,7 +1106,7 @@ static void CheckCaches()
Vehicle *v;
FOR_ALL_VEHICLES(v) {
- if (v != v->First()) continue;
+ if (v != v->First() || v->vehstatus & VS_CRASHED) continue;
switch (v->type) {
case VEH_ROAD: {