diff options
author | rubidium <rubidium@openttd.org> | 2008-05-15 13:39:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-15 13:39:36 +0000 |
commit | 373343cef606e940bfc99aa813cd05d36b15cb45 (patch) | |
tree | dbf82a81f389a63eb11a06152870ba44cc07d456 /src/station_cmd.cpp | |
parent | c709b8a711039a12c4e105e9ec9c768f20cbf4a8 (diff) | |
download | openttd-373343cef606e940bfc99aa813cd05d36b15cb45.tar.xz |
(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.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |