summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index ebb5ece3a..9ea6382d4 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -3886,8 +3886,8 @@ static void StationMapSpriteGroup(ByteReader *buf, uint8 idcount)
}
statspec->spritegroup[CT_DEFAULT] = _cur_grffile->spritegroups[groupid];
- statspec->grffile = _cur_grffile;
- statspec->localidx = stations[i];
+ statspec->grf_prop.grffile = _cur_grffile;
+ statspec->grf_prop.local_id = stations[i];
SetCustomStationSpec(statspec);
}
}