diff options
author | darkvater <darkvater@openttd.org> | 2004-11-14 14:53:15 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-11-14 14:53:15 +0000 |
commit | 58473175266f453b900e4262588ccce075ec05c3 (patch) | |
tree | 548d0fcde9c3e1cc23af25dbd64d758bbf662231 /grfspecial.c | |
parent | ccc496ba2ce07be7bd8faf0a084e983dbed5e80b (diff) | |
download | openttd-58473175266f453b900e4262588ccce075ec05c3.tar.xz |
(svn r592) -newgrf: Dynamically allocate global custom station IDs (pasky).
Diffstat (limited to 'grfspecial.c')
-rw-r--r-- | grfspecial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grfspecial.c b/grfspecial.c index 55b813bd5..4470c687e 100644 --- a/grfspecial.c +++ b/grfspecial.c @@ -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; } |