summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-17 22:32:34 +0000
committertron <tron@openttd.org>2007-01-17 22:32:34 +0000
commitd80009c611f9eee5ac727690c5d9bde071b73d4f (patch)
tree1af5c63dbc69cb531446410531f5416861231627 /src/station.cpp
parent323898cb97011ffc67f668cce6cd5a6cf4ea95e8 (diff)
downloadopenttd-d80009c611f9eee5ac727690c5d9bde071b73d4f.tar.xz
(svn r8212) -Fix
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/station.cpp b/src/station.cpp
index d3eff6bb1..b718a0aac 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -350,7 +350,6 @@ void RoadStop::operator delete(void *p, int index)
/** Initializes a RoadStop */
RoadStop::RoadStop(TileIndex tile) :
xy(tile),
- used(true),
status(3), // stop is free
num_vehicles(0),
next(NULL),
@@ -377,7 +376,6 @@ RoadStop::~RoadStop()
if (prev != NULL) prev->next = next;
if (next != NULL) next->prev = prev;
- used = false;
DEBUG(ms, cDebugCtorLevel , "I- at %d[0x%x]", xy, xy);
xy = INVALID_TILE;