diff options
author | rubidium <rubidium@openttd.org> | 2008-03-28 08:53:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-03-28 08:53:36 +0000 |
commit | 2426f5342f7d02e4c7a486123fb1f1eda6d556ad (patch) | |
tree | 6ac53730ac3371086562388c2590d8323adb6b80 /src/engine.cpp | |
parent | 0e73ac21986a3b1224f63d220b9dbfb81a91d239 (diff) | |
download | openttd-2426f5342f7d02e4c7a486123fb1f1eda6d556ad.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.cpp | 4 |
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() |