diff -r eec5a7dcbf61 -r fcf5fb2548eb src/engine.cpp --- a/src/engine.cpp Mon Apr 14 20:32:36 2008 +0000 +++ b/src/engine.cpp Tue Apr 15 00:47:19 2008 +0000 @@ -5,11 +5,10 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" -#include "engine.h" #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" @@ -26,6 +25,7 @@ #include "autoreplace_gui.h" #include "string_func.h" #include "settings_type.h" +#include "oldpool_func.h" #include "table/strings.h" #include "table/engines.h" @@ -338,7 +338,7 @@ 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()