summaryrefslogtreecommitdiff
path: root/src/engine.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/engine.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/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 699486c1e..7f2c77054 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -9,7 +9,7 @@
#include "player_base.h"
#include "player_func.h"
#include "command_func.h"
-#include "news.h"
+#include "news_func.h"
#include "saveload.h"
#include "variables.h"
#include "train.h"
@@ -338,7 +338,7 @@ static void NewVehicleAvailable(Engine *e)
if (p->is_active) SetBit(p->avail_roadtypes, HasBit(EngInfo(index)->misc_flags, EF_ROAD_TRAM) ? ROADTYPE_TRAM : ROADTYPE_ROAD);
}
}
- AddNewsItem(index, NEWS_FLAGS(NM_CALLBACK, 0, NT_NEW_VEHICLES, DNC_VEHICLEAVAIL), 0, 0);
+ AddNewsItem(index, NM_CALLBACK, NF_NONE, NT_NEW_VEHICLES, DNC_VEHICLEAVAIL, 0, 0);
}
void EnginesMonthlyLoop()