diff options
author | smatz <smatz@openttd.org> | 2009-01-03 16:06:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-03 16:06:58 +0000 |
commit | b00e510140b4983d58f580fdca87368b1edb436a (patch) | |
tree | cfe8a97df4f219709152bb304eee65541e9ab8db /src/depot.cpp | |
parent | 7a2adef8594cb54b5ec00466117c7608d3619150 (diff) | |
download | openttd-b00e510140b4983d58f580fdca87368b1edb436a.tar.xz |
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
Diffstat (limited to 'src/depot.cpp')
-rw-r--r-- | src/depot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot.cpp b/src/depot.cpp index 8b9abe06a..005f067b1 100644 --- a/src/depot.cpp +++ b/src/depot.cpp @@ -43,7 +43,7 @@ Depot::~Depot() /* Delete the depot-window */ DeleteWindowById(WC_VEHICLE_DEPOT, this->xy); - this->xy = 0; + this->xy = INVALID_TILE; } void InitializeDepots() |