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/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_cmd.cpp') diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index f97ac5d2b..eb7054ec3 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -409,7 +409,7 @@ static void ShowRejectOrAcceptNews(const Station *st, uint num_items, CargoID *c } SetDParam(0, st->index); - AddNewsItem(msg, NM_SMALL, NF_VIEWPORT | NF_TILE, NT_ACCEPTANCE, DNC_NONE, st->xy, 0); + AddNewsItem(msg, NS_ACCEPTANCE, st->xy, 0); } /** -- cgit v1.2.3-70-g09d2