summaryrefslogtreecommitdiff
path: root/src/order_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-28 08:53:36 +0000
committerrubidium <rubidium@openttd.org>2008-03-28 08:53:36 +0000
commiteeabab4555bf20ea9769bfea05c1fc278a493fa3 (patch)
tree6ac53730ac3371086562388c2590d8323adb6b80 /src/order_cmd.cpp
parentd8cfb4f064d5492770d3325ef6e288b630e34e7c (diff)
downloadopenttd-eeabab4555bf20ea9769bfea05c1fc278a493fa3.tar.xz
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r--src/order_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp
index 2085fb1f9..b968a2852 100644
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -11,7 +11,7 @@
#include "command_func.h"
#include "station.h"
#include "player_func.h"
-#include "news.h"
+#include "news_func.h"
#include "saveload.h"
#include "vehicle_gui.h"
#include "cargotype.h"
@@ -1135,7 +1135,7 @@ void CheckOrders(const Vehicle* v)
SetDParam(0, v->unitnumber);
AddNewsItem(
message,
- NEWS_FLAGS(NM_SMALL, NF_VIEWPORT | NF_VEHICLE, NT_ADVICE, 0),
+ NM_SMALL, NF_VIEWPORT | NF_VEHICLE, NT_ADVICE, DNC_NONE,
v->index,
0
);