(svn r22496) -Fix: callback result for airport layout name was incorrectly used

This commit is contained in:
yexo 2011-05-27 16:06:23 +00:00
parent 9a744793b0
commit 00e65d1a4d

View File

@ -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());
}