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
commit3be30b8842dfb1697b49f9e46e3d499132eb39bb (patch)
tree1af5c63dbc69cb531446410531f5416861231627 /src/station.cpp
parent004f1b061ffa48f474b80a71da789dca4da599f0 (diff)
downloadopenttd-3be30b8842dfb1697b49f9e46e3d499132eb39bb.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;