(svn r8212) -Fix

Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
This commit is contained in:
tron
2007-01-17 22:32:34 +00:00
parent 004f1b061f
commit 3be30b8842
3 changed files with 7 additions and 7 deletions

View File

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