summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-21 17:15:56 +0000
committerrubidium <rubidium@openttd.org>2011-12-21 17:15:56 +0000
commit9b192efc58cc3de933a167f68a2cc7c2c2450931 (patch)
tree3541f6ca062e4641189dedde2fdd5bcbd3aae54f /src
parent8456d5de69be3f3445dc9a496c80bbc2bc4420f0 (diff)
downloadopenttd-9b192efc58cc3de933a167f68a2cc7c2c2450931.tar.xz
(svn r23654) -Fix [FS#4904]: missing this-> (adf88)
Diffstat (limited to 'src')
-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;
}