(svn r8449) -Fix

-Codechange: Remove the superfluous attribute RoadStop::prev
This commit is contained in:
tron
2007-01-28 21:54:40 +00:00
parent 83ba97c755
commit 5a9873c3bd
3 changed files with 19 additions and 28 deletions

View File

@@ -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;