@@ -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.