summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 6c230145d..1ef2fe87c 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -738,6 +738,7 @@ static bool RoadVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
} else if (cargo == 0xFF) {
rvi->cargo_type = CT_INVALID;
} else {
+ rvi->cargo_type = CT_INVALID;
grfmsg(2, "RoadVehicleChangeInfo: Invalid cargo type %d, using first refittable", cargo);
}
} break;