summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-10-11 22:05:59 +0000
committerpeter1138 <peter1138@openttd.org>2006-10-11 22:05:59 +0000
commit2ba8bf37b90b2ec4cba84a003113553a537964ac (patch)
treebe749a1ee52c544cde6c3c411021947c2285c519 /newgrf.c
parentd6c21e4d7122d1705d58e4b1b97357047cf66cbc (diff)
downloadopenttd-2ba8bf37b90b2ec4cba84a003113553a537964ac.tar.xz
(svn r6741) - Codechange: Simplify and unify resolving of station groups, and use the first available cargo type instead of only the default.
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index b34292109..61d78910f 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1812,7 +1812,6 @@ static void FeatureMapSpriteGroup(byte *buf, int len)
StationSpec *statspec = _cur_grffile->stations[stid];
statspec->spritegroup[GC_DEFAULT] = _cur_grffile->spritegroups[groupid];
- statspec->groundgroup = _cur_grffile->spritegroups[0];
statspec->grfid = _cur_grffile->grfid;
statspec->localidx = stid;
SetCustomStationSpec(statspec);