From 0a532f8491ce2ce1fa8e2d8d664079a91f0a8607 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 6 May 2006 22:20:16 +0000 Subject: (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) --- newgrf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'newgrf.h') diff --git a/newgrf.h b/newgrf.h index ec1830307..18e74c5ce 100644 --- a/newgrf.h +++ b/newgrf.h @@ -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 -- cgit v1.2.3-54-g00ecf