summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-30 09:01:05 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-30 09:01:05 +0000
commitbfcd6e977233d0acf6da81461f132feb7c5aacf5 (patch)
treead6a9bc98e0e145f7ac3fd46fd47777e8f471146
parent2b67c01a24441555ec11ec102c0ab945fdf28981 (diff)
downloadopenttd-bfcd6e977233d0acf6da81461f132feb7c5aacf5.tar.xz
(svn r14189) -Fix (r14188): Accidental line removal
-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;