From 254e19da91309da11416c69ae7899dc11e608df0 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 3 Jan 2009 16:06:58 +0000 Subject: (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints --- src/depot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot.cpp') 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() -- cgit v1.2.3-54-g00ecf