summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r--src/newgrf_industries.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h
index 57e44e8c0..94a502166 100644
--- a/src/newgrf_industries.h
+++ b/src/newgrf_industries.h
@@ -48,9 +48,11 @@ struct IndustriesResolverObject : public ResolverObject {
case VSG_SCOPE_PARENT: {
TownScopeResolver *tsr = this->GetTown();
if (tsr != NULL) return tsr;
- /* FALL-THROUGH */
}
- default: return ResolverObject::GetScope(scope, relative);
+ FALLTHROUGH;
+
+ default:
+ return ResolverObject::GetScope(scope, relative);
}
}
};