diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-06 22:20:16 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-06 22:20:16 +0000 |
commit | 0a532f8491ce2ce1fa8e2d8d664079a91f0a8607 (patch) | |
tree | b7bd02a74dac477ef70c8d9db544457d9e3a4791 /newgrf.h | |
parent | 0597c35fc142f4820e5900eb2e2f28422f351f62 (diff) | |
download | openttd-0a532f8491ce2ce1fa8e2d8d664079a91f0a8607.tar.xz |
(svn r4760) - Newstations: change the way custom stations are allocated when loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere)
Diffstat (limited to 'newgrf.h')
-rw-r--r-- | newgrf.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -41,8 +41,7 @@ typedef struct GRFFile { int spritegroups_count; SpriteGroup **spritegroups; - uint num_stations; - StationSpec *stations; + StationSpec **stations; uint32 param[0x80]; uint param_end; /// one more than the highest set parameter |