diff options
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 413a3aa81..d13cf5132 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -140,7 +140,7 @@ Industry::~Industry() /* Industry can also be destroyed when not fully initialized. * This means that we do not have to clear tiles either. */ if (this->width == 0) { - this->xy = 0; + this->xy = INVALID_TILE; return; } @@ -174,7 +174,7 @@ Industry::~Industry() DeleteSubsidyWithIndustry(this->index); DeleteWindowById(WC_INDUSTRY_VIEW, this->index); InvalidateWindowData(WC_INDUSTRY_DIRECTORY, 0, 0); - this->xy = 0; + this->xy = INVALID_TILE; } static void IndustryDrawSugarMine(const TileInfo *ti) |