File diff r25641:67d7642297d6 → r25642:6743de9f1df8
src/newgrf_spritegroup.cpp
Show inline comments
 
@@ -121,12 +121,15 @@ static inline uint32 GetVariable(const R
 
 * Get the real sprites of the grf.
 
 * @param group Group to get.
 
 * @return The available sprite group.
 
 */
 
/* virtual */ const SpriteGroup *ResolverObject::ResolveReal(const RealSpriteGroup *group) const
 
{
 
	if (!group->loaded.empty())  return group->loaded[0];
 
	if (!group->loading.empty()) return group->loading[0];
 

	
 
	return nullptr;
 
}
 

	
 
/**
 
 * Get a resolver for the \a scope.
 
 * @param scope Scope to return.