summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 4a3b770d2..cbd06b6f6 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -128,10 +128,11 @@ struct ObjectResolverObject : public ResolverObject {
case VSG_SCOPE_PARENT: {
TownScopeResolver *tsr = this->GetTown();
if (tsr != NULL) return tsr;
- /* FALL-THROUGH */
}
+ FALLTHROUGH;
- default: return ResolverObject::GetScope(scope, relative);
+ default:
+ return ResolverObject::GetScope(scope, relative);
}
}