diff options
Diffstat (limited to 'src/newgrf_cargo.cpp')
-rw-r--r-- | src/newgrf_cargo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_cargo.cpp b/src/newgrf_cargo.cpp index 95f560edc..843c2ea6f 100644 --- a/src/newgrf_cargo.cpp +++ b/src/newgrf_cargo.cpp @@ -74,7 +74,7 @@ SpriteID GetCustomCargoSprite(const CargoSpec *cs) NewCargoResolver(&object, cs); - group = Resolve(cs->group, &object); + group = SpriteGroup::Resolve(cs->group, &object); if (group == NULL) return 0; return group->GetResult(); @@ -91,7 +91,7 @@ uint16 GetCargoCallback(CallbackID callback, uint32 param1, uint32 param2, const object.callback_param1 = param1; object.callback_param2 = param2; - group = Resolve(cs->group, &object); + group = SpriteGroup::Resolve(cs->group, &object); if (group == NULL) return CALLBACK_FAILED; return group->GetCallbackResult(); |