summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf_airport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h
index d3899779d..3b5d0004a 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -51,7 +51,7 @@ public:
if (this->att->ti.x == -0x80) {
this->tile = INVALID_TILE;
} else {
- this->tile = base_tile + ToTileIndexDiff(att->ti);
+ this->tile = this->base_tile + ToTileIndexDiff(this->att->ti);
}
return *this;
}