diff options
author | tron <tron@openttd.org> | 2007-01-28 21:54:40 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-01-28 21:54:40 +0000 |
commit | 5a9873c3bdb1fd8081f684036e7b82dbbe330fba (patch) | |
tree | 185b6eee6d1e1e6b75a4caa782dca4e6576e6c17 /src/station.cpp | |
parent | 83ba97c7550398e78cffc4d5f0cbe07fa6b64c25 (diff) | |
download | openttd-5a9873c3bdb1fd8081f684036e7b82dbbe330fba.tar.xz |
(svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 6 |
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; |