changeset 17716:5b5d9580d771 draft

(svn r22496) -Fix: callback result for airport layout name was incorrectly used
author yexo <yexo@openttd.org>
date Fri, 27 May 2011 16:06:23 +0000
parents 71a94913b160
children c7caf5a58212
files src/newgrf_airport.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_airport.cpp
+++ b/src/newgrf_airport.cpp
@@ -256,5 +256,5 @@
 	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());
 }