src/station_cmd.cpp
changeset 10123 f73d96619303
parent 10109 882c4c0a5788
child 10124 089100e22a6a
equal deleted inserted replaced
10122:c524226103f1 10123:f73d96619303
   409 	for (uint i = 0; i < num_items; i++) {
   409 	for (uint i = 0; i < num_items; i++) {
   410 		SetDParam(i + 1, GetCargo(cargo[i])->name);
   410 		SetDParam(i + 1, GetCargo(cargo[i])->name);
   411 	}
   411 	}
   412 
   412 
   413 	SetDParam(0, st->index);
   413 	SetDParam(0, st->index);
   414 	AddNewsItem(msg, NS_ACCEPTANCE, st->xy, 0);
   414 	AddNewsItem(msg, NS_ACCEPTANCE, st->xy, st->index);
   415 }
   415 }
   416 
   416 
   417 /**
   417 /**
   418  * Get a list of the cargo types being produced around the tile (in a rectangle).
   418  * Get a list of the cargo types being produced around the tile (in a rectangle).
   419  * @param produced: Destination array of produced cargo
   419  * @param produced: Destination array of produced cargo