(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.

This commit is contained in:
frosch
2009-05-24 16:52:42 +00:00
parent b86ab81030
commit eeb3f75cfe
20 changed files with 216 additions and 162 deletions

View File

@@ -2344,7 +2344,7 @@ static void TownActionRoadRebuild(Town *t)
SetDParam(0, t->index);
SetDParamStr(1, cn);
AddNewsItem(STR_NEWS_ROAD_REBUILDING, NS_GENERAL, t->xy, 0, cn);
AddNewsItem(STR_NEWS_ROAD_REBUILDING, NS_GENERAL, NR_TOWN, t->index, NR_NONE, UINT32_MAX, cn);
}
static bool DoBuildStatueOfCompany(TileIndex tile, TownID town_id)