(svn r16402) -Codechange: make Resolve a function of SpriteGroup

This commit is contained in:
rubidium
2009-05-23 15:25:52 +00:00
parent 95f69954c0
commit 846382a0f3
10 changed files with 67 additions and 56 deletions

View File

@@ -139,7 +139,7 @@ static uint16 GetGenericCallbackResult(uint8 feature, ResolverObject *object, co
/* Test each feature callback sprite group. */
for (GenericCallbackList::const_iterator it = _gcl[feature].begin(); it != _gcl[feature].end(); ++it) {
const SpriteGroup *group = it->group;
group = Resolve(group, object);
group = SpriteGroup::Resolve(group, object);
if (group == NULL) continue;
/* Return NewGRF file if necessary */