summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorJ0an Josep <juanjo.ng.83@gmail.com>2017-08-15 17:56:34 +0200
committerfrosch <github@elsenhans.name>2018-04-30 21:52:40 +0200
commitcfb8092397709fe2276d8a5c5386c334b0a9199e (patch)
tree714fa04d7b38f6e37f518a33ed3d38a67cfeca4b /src/newgrf_object.h
parent3f40cd505db78932cd355711d6294e6dc4446410 (diff)
downloadopenttd-cfb8092397709fe2276d8a5c5386c334b0a9199e.tar.xz
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 69e1a3299..43c8de031 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -138,8 +138,8 @@ struct ObjectResolverObject : public ResolverObject {
case VSG_SCOPE_PARENT: {
TownScopeResolver *tsr = this->GetTown();
if (tsr != NULL) return tsr;
+ FALLTHROUGH;
}
- FALLTHROUGH;
default:
return ResolverObject::GetScope(scope, relative);