(svn r25319) -Fix [FS#5570]: crash when train with reserved cargo vanishes

This commit is contained in:
rubidium
2013-06-04 15:04:59 +00:00
parent 0d28dc92fc
commit 254c3834d0
3 changed files with 5 additions and 0 deletions

View File

@@ -270,6 +270,8 @@ Vehicle::Vehicle(VehicleType type)
this->first = this;
this->colourmap = PAL_NONE;
this->cargo_age_counter = 1;
this->last_station_visited = INVALID_STATION;
this->last_loading_station = INVALID_STATION;
}
/**