1
0
Fork 0

Fix #8956: Industry disaster news messages showed the wrong location (#8992)

pull/9160/head
Charles Pigott 2021-04-10 13:44:17 +01:00
parent 5905fdb26e
commit 0434cc017b
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ static bool DisasterTick_Aircraft(DisasterVehicle *v, uint16 image_override, boo
DestructIndustry(i);
SetDParam(0, i->town->index);
AddTileNewsItem(news_message, NT_ACCIDENT, v->dest_tile);
AddIndustryNewsItem(news_message, NT_ACCIDENT, i->index);
if (_settings_client.sound.disaster) SndPlayTileFx(SND_12_EXPLOSION, i->location.tile);
}
} else if (v->current_order.GetDestination() == 0) {