(svn r6741) - Codechange: Simplify and unify resolving of station groups, and use the first available cargo type instead of only the default.

This commit is contained in:
2006-10-11 22:05:59 +00:00
parent d6c21e4d71
commit 2ba8bf37b9
4 changed files with 55 additions and 42 deletions

View File

@@ -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);