mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-22 20:05:40 +01: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);
|
group = SpriteGroup::Resolve(as->grf_prop.spritegroup[0], &object);
|
||||||
if (group == NULL) return STR_UNDEFINED;
|
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