From 76b8970a33a9dfad23fe14d92813f21385594986 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 15 May 2008 13:39:36 +0000 Subject: (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. --- src/town_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_cmd.cpp') diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 1b65f3e8f..c0e5885d9 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -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) -- cgit v1.2.3-54-g00ecf