diff options
author | rubidium <rubidium@openttd.org> | 2009-05-23 15:25:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-23 15:25:52 +0000 |
commit | f2317d0d9d74c3f5d14530c14b314ad32d05ef80 (patch) | |
tree | fa8a51810dfc5e6bb93d389b67c2815ce1d90967 /src/newgrf_generic.cpp | |
parent | 8d072585aecc4ff35c922f482d99aef194e0a311 (diff) | |
download | openttd-f2317d0d9d74c3f5d14530c14b314ad32d05ef80.tar.xz |
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
Diffstat (limited to 'src/newgrf_generic.cpp')
-rw-r--r-- | src/newgrf_generic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_generic.cpp b/src/newgrf_generic.cpp index 0ca9fba77..aa5ee0c22 100644 --- a/src/newgrf_generic.cpp +++ b/src/newgrf_generic.cpp @@ -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 */ |