(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.

This commit is contained in:
rubidium
2008-05-15 13:39:36 +00:00
parent 009a748ab3
commit 76b8970a33
19 changed files with 126 additions and 68 deletions

View File

@@ -2152,7 +2152,7 @@ static void TownActionRoadRebuild(Town *t)
SetDParam(1, _current_player);
AddNewsItem(STR_2055_TRAFFIC_CHAOS_IN_ROAD_REBUILDING,
NM_NORMAL, NF_TILE, NT_GENERAL, DNC_NONE, t->xy, 0);
NS_GENERAL, t->xy, 0);
}
static bool DoBuildStatueOfCompany(TileIndex tile, TownID town_id)