File diff r11688:736184df0c5d → r11689:154feeb8fd54
src/vehicle.cpp
Show inline comments
 
@@ -1511,12 +1511,13 @@ void Vehicle::BeginLoading()
 
	InvalidateWindow(GetWindowClassForVehicleType(this->type), this->owner);
 
	InvalidateWindowWidget(WC_VEHICLE_VIEW, this->index, VVW_WIDGET_START_STOP_VEH);
 
	InvalidateWindow(WC_VEHICLE_DETAILS, this->index);
 
	InvalidateWindow(WC_STATION_VIEW, this->last_station_visited);
 

	
 
	GetStation(this->last_station_visited)->MarkTilesDirty(true);
 
	this->cur_speed = 0;
 
	this->MarkDirty();
 
}
 

	
 
void Vehicle::LeaveStation()
 
{
 
	assert(current_order.IsType(OT_LOADING));