summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 2330df237..d3eff6bb1 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -348,16 +348,15 @@ void RoadStop::operator delete(void *p, int index)
}
/** Initializes a RoadStop */
-RoadStop::RoadStop(TileIndex tile, StationID index) :
+RoadStop::RoadStop(TileIndex tile) :
xy(tile),
used(true),
status(3), // stop is free
num_vehicles(0),
- station(index),
next(NULL),
prev(NULL)
{
- DEBUG(ms, cDebugCtorLevel, "I+%3d at %d[0x%x]", index, tile, tile);
+ DEBUG(ms, cDebugCtorLevel, "I+ at %d[0x%x]", tile, tile);
}
/** De-Initializes a RoadStops. This includes clearing all slots that vehicles might
@@ -379,10 +378,9 @@ RoadStop::~RoadStop()
if (next != NULL) next->prev = prev;
used = false;
- DEBUG(ms, cDebugCtorLevel , "I-%3d at %d[0x%x]", station, xy, xy);
+ DEBUG(ms, cDebugCtorLevel , "I- at %d[0x%x]", xy, xy);
xy = INVALID_TILE;
- station = INVALID_STATION;
}