--- a/src/station.cpp Mon Mar 31 07:37:51 2008 +0000
+++ b/src/station.cpp Mon Mar 31 07:50:27 2008 +0000
@@ -7,7 +7,7 @@
#include "bridge_map.h"
#include "debug.h"
#include "station_map.h"
-#include "station.h"
+#include "station_base.h"
#include "town.h"
#include "saveload.h"
#include "player_func.h"
@@ -30,6 +30,7 @@
#include "variables.h"
#include "settings_type.h"
#include "command_func.h"
+#include "order_func.h"
#include "table/sprites.h"
#include "table/strings.h"
@@ -99,7 +100,7 @@
*/
RoadStop *Station::GetPrimaryRoadStop(const Vehicle *v) const
{
- RoadStop *rs = this->GetPrimaryRoadStop(IsCargoInClass(v->cargo_type, CC_PASSENGERS) ? RoadStop::BUS : RoadStop::TRUCK);
+ RoadStop *rs = this->GetPrimaryRoadStop(IsCargoInClass(v->cargo_type, CC_PASSENGERS) ? ROADSTOP_BUS : ROADSTOP_TRUCK);
for (; rs != NULL; rs = rs->next) {
/* The vehicle cannot go to this roadstop (different roadtype) */