summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-27 23:33:38 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-27 23:33:38 +0000
commit5b5dec4f55540647b836e5797f110217fe2538ea (patch)
tree74ea961ccc7c7e9c91a777d8b71e63f80505c4e1
parentaa1decec70209e9dc907a5556416d2edafb00410 (diff)
downloadopenttd-5b5dec4f55540647b836e5797f110217fe2538ea.tar.xz
(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.
-rw-r--r--newgrf_spritegroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_spritegroup.c b/newgrf_spritegroup.c
index 3eee2c903..4f8cf4b22 100644
--- a/newgrf_spritegroup.c
+++ b/newgrf_spritegroup.c
@@ -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));
- 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];
}