(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.
authorpeter1138
Thu, 27 Apr 2006 23:33:38 +0000
changeset 3681 4fbeab45928c
parent 3680 4901a7af8ffc
child 3682 481e92a35a3e
(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.
newgrf_spritegroup.c
--- a/newgrf_spritegroup.c	Thu Apr 27 23:28:56 2006 +0000
+++ b/newgrf_spritegroup.c	Thu Apr 27 23:33:38 2006 +0000
@@ -80,7 +80,7 @@
 
 	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];
 }