Changeset - r17706:8865e9fedd48
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2011-05-27 16:06:23
yexo@openttd.org
(svn r22496) -Fix: callback result for airport layout name was incorrectly used
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_airport.cpp
Show inline comments
 
@@ -253,8 +253,8 @@ StringID GetAirportTextCallback(const Ai
 
	NewAirportResolver(&object, INVALID_TILE, NULL, as->GetIndex(), layout);
 
	object.callback = (CallbackID)callback;
 

	
 
	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());
 
}
0 comments (0 inline, 0 general)