mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 17:19:09 +00:00
(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:
@@ -1444,7 +1444,7 @@ void CheckOrders(const Vehicle* v)
|
||||
SetDParam(0, v->unitnumber);
|
||||
AddNewsItem(
|
||||
message,
|
||||
NM_SMALL, NF_VIEWPORT | NF_VEHICLE, NT_ADVICE, DNC_NONE,
|
||||
NS_ADVICE,
|
||||
v->index,
|
||||
0
|
||||
);
|
||||
|
Reference in New Issue
Block a user