summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-31 00:06:17 +0000
committerrubidium <rubidium@openttd.org>2008-03-31 00:06:17 +0000
commit2edd403656281f774e4a53251395b7b647a1c48b (patch)
treeeb3da2680e728750995c9c6d9df9bee5c7028211 /src/station.cpp
parent4a1035ab95a994991b2ce802dbbd78f7dd6c0090 (diff)
downloadopenttd-2edd403656281f774e4a53251395b7b647a1c48b.tar.xz
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 21147c2ef..f16fb8430 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -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"
@@ -100,7 +100,7 @@ Station::~Station()
*/
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) */