From c50626319765e85efeb2e327cb401c807d5a26f3 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Sat, 10 Apr 2021 13:44:17 +0100 Subject: Fix #8956: Industry disaster news messages showed the wrong location (#8992) --- src/disaster_vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disaster_vehicle.cpp b/src/disaster_vehicle.cpp index c5d76877c..cc245b38f 100644 --- a/src/disaster_vehicle.cpp +++ b/src/disaster_vehicle.cpp @@ -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) { -- cgit v1.2.3-54-g00ecf