(svn r592) -newgrf: Dynamically allocate global custom station IDs (pasky).

This commit is contained in:
darkvater
2004-11-14 14:53:15 +00:00
parent ccc496ba2c
commit 5847317526
3 changed files with 38 additions and 8 deletions

View File

@@ -1219,6 +1219,7 @@ static void NewVehicle_SpriteGroupMapping(byte *buf, int len)
seq->image += _cur_grffile->spritegroups[groupid].loading[0];
}
}
stat->grfid = _cur_grffile->grfid;
SetCustomStation(stid, stat);
stat->classid = 0;
}