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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 1ab351be9..dcc5caa8b 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -137,7 +137,7 @@ struct ObjectResolverObject : public ResolverObject {
case VSG_SCOPE_PARENT: {
TownScopeResolver *tsr = this->GetTown();
- if (tsr != NULL) return tsr;
+ if (tsr != nullptr) return tsr;
FALLTHROUGH;
}