File diff r10492:1af3324e4cc9 → r10493:b82fe3a35854
src/economy.cpp
Show inline comments
 
@@ -385,10 +385,6 @@ void ChangeOwnershipOfCompanyItems(Owner
 
		FOR_ALL_VEHICLES(v) {
 
			if (v->owner == old_owner && IsCompanyBuildableVehicleType(v->type)) {
 
				if (new_owner == INVALID_OWNER) {
 
					DeleteWindowById(WC_VEHICLE_VIEW, v->index);
 
					DeleteWindowById(WC_VEHICLE_DETAILS, v->index);
 
					DeleteWindowById(WC_VEHICLE_ORDERS, v->index);
 

	
 
					if (v->Previous() == NULL) delete v;
 
				} else {
 
					v->owner = new_owner;