summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-10 15:51:33 +0000
committerrubidium <rubidium@openttd.org>2010-08-10 15:51:33 +0000
commit3d21fb44aae10d627cf24c7e42485c8f3a33ed42 (patch)
treecb41a3103b0a272d888f079872cb4f6609a1266b /src/newgrf.cpp
parentca7a067b7a57578e05cefec1ef647a67a9b5be07 (diff)
downloadopenttd-3d21fb44aae10d627cf24c7e42485c8f3a33ed42.tar.xz
(svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations.
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 b3e3aa3e1..9d6deefdd 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -3870,7 +3870,7 @@ static void StationMapSpriteGroup(ByteReader *buf, uint8 idcount)
continue;
}
- statspec->spritegroup[ctype] = _cur_grffile->spritegroups[groupid];
+ statspec->grf_prop.spritegroup[ctype] = _cur_grffile->spritegroups[groupid];
}
}
@@ -3890,7 +3890,7 @@ static void StationMapSpriteGroup(ByteReader *buf, uint8 idcount)
continue;
}
- statspec->spritegroup[CT_DEFAULT] = _cur_grffile->spritegroups[groupid];
+ statspec->grf_prop.spritegroup[CT_DEFAULT] = _cur_grffile->spritegroups[groupid];
statspec->grf_prop.grffile = _cur_grffile;
statspec->grf_prop.local_id = stations[i];
StationClass::Assign(statspec);