summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index 2a19b5811..8f3bb6dce 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -67,7 +67,7 @@ struct StationResolverObject : public ResolverObject {
case VSG_SCOPE_PARENT: {
TownScopeResolver *tsr = this->GetTown();
- if (tsr != NULL) return tsr;
+ if (tsr != nullptr) return tsr;
FALLTHROUGH;
}