summaryrefslogtreecommitdiff
path: root/src/newgrf_railtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_railtype.h')
-rw-r--r--src/newgrf_railtype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_railtype.h b/src/newgrf_railtype.h
index 93677f58d..9224ce9e5 100644
--- a/src/newgrf_railtype.h
+++ b/src/newgrf_railtype.h
@@ -37,7 +37,7 @@ struct RailTypeResolverObject : public ResolverObject {
{
switch (scope) {
case VSG_SCOPE_SELF: return &this->railtype_scope;
- default: return &this->default_scope; // XXX ResolverObject::GetScope(scope, relative);
+ default: return ResolverObject::GetScope(scope, relative);
}
}