newgrf.c
changeset 4817 116374e1a5f1
parent 4742 d915db693186
child 4818 6caf76622964
equal deleted inserted replaced
4816:e555e273cf08 4817:116374e1a5f1
  1810 			for (i = 0; i < idcount; i++) {
  1810 			for (i = 0; i < idcount; i++) {
  1811 				uint8 stid = buf[3 + i];
  1811 				uint8 stid = buf[3 + i];
  1812 				StationSpec *statspec = _cur_grffile->stations[stid];
  1812 				StationSpec *statspec = _cur_grffile->stations[stid];
  1813 
  1813 
  1814 				statspec->spritegroup[GC_DEFAULT] = _cur_grffile->spritegroups[groupid];
  1814 				statspec->spritegroup[GC_DEFAULT] = _cur_grffile->spritegroups[groupid];
  1815 				statspec->groundgroup = _cur_grffile->spritegroups[0];
       
  1816 				statspec->grfid = _cur_grffile->grfid;
  1815 				statspec->grfid = _cur_grffile->grfid;
  1817 				statspec->localidx = stid;
  1816 				statspec->localidx = stid;
  1818 				SetCustomStationSpec(statspec);
  1817 				SetCustomStationSpec(statspec);
  1819 			}
  1818 			}
  1820 		}
  1819 		}