summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newgrf.c b/newgrf.c
index 0cd835ac2..dc5a55210 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -862,9 +862,9 @@ static bool StationChangeInfo(uint stid, int numinfo, int prop, byte **bufp, int
if ((byte) dtss->delta_x == 0x80) break;
dtss->delta_y = grf_load_byte(&buf);
dtss->delta_z = grf_load_byte(&buf);
- dtss->width = grf_load_byte(&buf);
- dtss->height = grf_load_byte(&buf);
- dtss->unk = grf_load_byte(&buf);
+ dtss->size_x = grf_load_byte(&buf);
+ dtss->size_y = grf_load_byte(&buf);
+ dtss->size_z = grf_load_byte(&buf);
dtss->image = grf_load_dword(&buf);
/* Remap flags as ours collide */