mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r22496) -Fix: callback result for airport layout name was incorrectly used
This commit is contained in:
parent
9a744793b0
commit
00e65d1a4d
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user