forked from mirror/OpenTTD
(svn r22496) -Fix: callback result for airport layout name was incorrectly used
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user