equal
deleted
inserted
replaced
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 |