summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 416c41ea1..7998e49ca 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -365,8 +365,7 @@ RoadStop::RoadStop(TileIndex tile) :
xy(tile),
status(3), // stop is free
num_vehicles(0),
- next(NULL),
- prev(NULL)
+ next(NULL)
{
DEBUG(ms, cDebugCtorLevel, "I+ at %d[0x%x]", tile, tile);
}
@@ -386,9 +385,6 @@ RoadStop::~RoadStop()
}
assert(num_vehicles == 0);
- if (prev != NULL) prev->next = next;
- if (next != NULL) next->prev = prev;
-
DEBUG(ms, cDebugCtorLevel , "I- at %d[0x%x]", xy, xy);
xy = INVALID_TILE;