summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-28 21:54:40 +0000
committertron <tron@openttd.org>2007-01-28 21:54:40 +0000
commite3b63e6d8327b800a2d318d8f30ef72f3b39f33e (patch)
tree185b6eee6d1e1e6b75a4caa782dca4e6576e6c17 /src/station.cpp
parent39a50e372361837b00a1a58f1cae697654194e14 (diff)
downloadopenttd-e3b63e6d8327b800a2d318d8f30ef72f3b39f33e.tar.xz
(svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
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;