mirror of https://github.com/OpenTTD/OpenTTD
(svn r22496) -Fix: callback result for airport layout name was incorrectly used
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