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 | 76b8970a33a9dfad23fe14d92813f21385594986 (patch) | |
tree | dbf82a81f389a63eb11a06152870ba44cc07d456 /src/ship_cmd.cpp | |
parent | 009a748ab33a77613aad7d269a79eb74a3be5080 (diff) | |
download | openttd-76b8970a33a9dfad23fe14d92813f21385594986.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/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 31d76e17d..f1a7e9bc9 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -349,7 +349,7 @@ static void ShipArrivesAt(const Vehicle* v, Station* st) SetDParam(0, st->index); AddNewsItem( STR_9833_CITIZENS_CELEBRATE_FIRST, - NM_THIN, NF_VIEWPORT | NF_VEHICLE, (v->owner == _local_player) ? NT_ARRIVAL_PLAYER : NT_ARRIVAL_OTHER, DNC_NONE, + (v->owner == _local_player) ? NS_ARRIVAL_PLAYER : NS_ARRIVAL_OTHER, v->index, 0); } |