From 9b192efc58cc3de933a167f68a2cc7c2c2450931 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 21 Dec 2011 17:15:56 +0000 Subject: [PATCH] (svn r23654) -Fix [FS#4904]: missing this-> (adf88) --- src/newgrf_airport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h index d3899779dc..3b5d0004aa 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; }