changeset 18806:4341f5652cec draft

(svn r23654) -Fix [FS#4904]: missing this-> (adf88)
author rubidium <rubidium@openttd.org>
date Wed, 21 Dec 2011 17:15:56 +0000
parents 5f0016276390
children bbeffff93282
files src/newgrf_airport.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -51,7 +51,7 @@
 		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;
 	}