File diff r12404:d58b2d050240 → r12405:ba094e765533
src/ai/api/ai_cargolist.cpp
Show inline comments
 
@@ -8,13 +8,13 @@
 
#include "../../tile_type.h"
 
#include "../../industry.h"
 

	
 
AICargoList::AICargoList()
 
{
 
	for (byte i = 0; i < NUM_CARGO; i++) {
 
		const CargoSpec *c = ::GetCargo(i);
 
		const CargoSpec *c = ::CargoSpec::Get(i);
 
		if (c->IsValid()) {
 
			this->AddItem(i);
 
		}
 
	}
 
}