summaryrefslogtreecommitdiff
path: root/newgrf.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-09-22 20:35:20 +0000
committerpeter1138 <peter1138@openttd.org>2005-09-22 20:35:20 +0000
commitcab56117ca3f2e1ec7931892546007b8d97b268c (patch)
treeecca4a52cd08c68f53c2d7eb31c88b39458cd598 /newgrf.h
parentbc602aa6d2ef5abb68e7902f2af8fd06a556ab3c (diff)
downloadopenttd-cab56117ca3f2e1ec7931892546007b8d97b268c.tar.xz
(svn r2970) - Newgrf: Allocate spritegroups dynamically; this allows a cargo ID to reference the previous definition of the same cargo ID, instead of causing loops.
Diffstat (limited to 'newgrf.h')
-rw-r--r--newgrf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.h b/newgrf.h
index a07631b3e..599cbad4f 100644
--- a/newgrf.h
+++ b/newgrf.h
@@ -31,7 +31,7 @@ struct GRFFile {
int spriteset_feature;
int spritegroups_count;
- SpriteGroup *spritegroups;
+ SpriteGroup **spritegroups;
StationSpec stations[256];