summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-07 20:52:45 +0000
committerrubidium <rubidium@openttd.org>2010-08-07 20:52:45 +0000
commitb6a0806948583a9551df6ae3601a7310e648207d (patch)
treee40ab7b652a3de753034576c0269c914a74bf85f /src/newgrf.cpp
parent178f74c31cd79ac248308a6fa389e5aa223b0895 (diff)
downloadopenttd-b6a0806948583a9551df6ae3601a7310e648207d.tar.xz
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
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);
}
}