summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/saveload/vehicle_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp
index 4529dc50a..2cfc704a1 100644
--- a/src/saveload/vehicle_sl.cpp
+++ b/src/saveload/vehicle_sl.cpp
@@ -326,7 +326,7 @@ void AfterLoadVehicles(bool part_of_load)
rv->subtype = 0;
rv->SetArticulatedPart();
} else {
- NOT_REACHED();
+ SlErrorCorrupt("Invalid road vehicle subtype");
}
}
}