summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-11-10 20:45:59 +0000
committeralberth <alberth@openttd.org>2012-11-10 20:45:59 +0000
commit4c9bea2a714da675217522c39113ba2c2c5bbee4 (patch)
treef04d63a5864e01eef76f74f0a09692a0baa880e1 /src/newgrf_object.h
parent69e07c3e00180053cc087ceb1dfeb89845b79857 (diff)
downloadopenttd-4c9bea2a714da675217522c39113ba2c2c5bbee4.tar.xz
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index c1b79959d..a1adbb662 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -124,12 +124,10 @@ struct ObjectResolverObject : public ResolverObject {
/* FALL-THROUGH */
}
- default: return &this->default_scope; // XXX return &ResolverObject::GetScope(scope, relative);
+ default: return ResolverObject::GetScope(scope, relative);
}
}
- const SpriteGroup *ResolveReal(const RealSpriteGroup *group) const;
-
private:
TownScopeResolver *GetTown();
};