summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-05-27 16:06:23 +0000
committeryexo <yexo@openttd.org>2011-05-27 16:06:23 +0000
commit00e65d1a4dc0cc380c1e8f1b0370c3f238dc1ccd (patch)
tree36be374cb708513038cf620ea93ebc55fdf1a579 /src
parent9a744793b0f1cfdab590f8736de90dcfa8e37040 (diff)
downloadopenttd-00e65d1a4dc0cc380c1e8f1b0370c3f238dc1ccd.tar.xz
(svn r22496) -Fix: callback result for airport layout name was incorrectly used
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_airport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_airport.cpp b/src/newgrf_airport.cpp
index 846aa6493..3d65b37c1 100644
--- a/src/newgrf_airport.cpp
+++ b/src/newgrf_airport.cpp
@@ -256,5 +256,5 @@ StringID GetAirportTextCallback(const AirportSpec *as, byte layout, uint16 callb
group = SpriteGroup::Resolve(as->grf_prop.spritegroup[0], &object);
if (group == NULL) return STR_UNDEFINED;
- return GetGRFStringID(as->grf_prop.grffile->grfid, 0xD000 + group->GetResult());
+ return GetGRFStringID(as->grf_prop.grffile->grfid, 0xD000 + group->GetCallbackResult());
}