summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r--src/newgrf_station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp
index 83fca3d24..25dc06440 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -264,7 +264,7 @@ static uint32 StationGetVariable(const ResolverObject *object, byte variable, by
if (object->scope == VSG_SCOPE_PARENT) {
/* Pass the request on to the town of the station */
- const Town *t;
+ Town *t;
if (st != NULL) {
t = st->town;