mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r4601) - NewGRF: after evalutaing a 'real' group, return the chosen group directly instead of resolving it as only callback and spriteid groups are returned.
This commit is contained in:
@@ -80,7 +80,7 @@ static const SpriteGroup *ResolveReal(const SpriteGroup *group, ResolverObject *
|
|||||||
|
|
||||||
assert((in_motion && set < group->g.real.num_loaded) || (!in_motion && set < group->g.real.num_loading));
|
assert((in_motion && set < group->g.real.num_loaded) || (!in_motion && set < group->g.real.num_loading));
|
||||||
|
|
||||||
return Resolve(in_motion ? group->g.real.loaded[set] : group->g.real.loading[set], object);
|
return in_motion ? group->g.real.loaded[set] : group->g.real.loading[set];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user