summaryrefslogtreecommitdiff
path: root/grfspecial.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-11-14 14:53:15 +0000
committerdarkvater <darkvater@openttd.org>2004-11-14 14:53:15 +0000
commit58473175266f453b900e4262588ccce075ec05c3 (patch)
tree548d0fcde9c3e1cc23af25dbd64d758bbf662231 /grfspecial.c
parentccc496ba2ce07be7bd8faf0a084e983dbed5e80b (diff)
downloadopenttd-58473175266f453b900e4262588ccce075ec05c3.tar.xz
(svn r592) -newgrf: Dynamically allocate global custom station IDs (pasky).
Diffstat (limited to 'grfspecial.c')
-rw-r--r--grfspecial.c1
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;
}