diff options
author | yexo <yexo@openttd.org> | 2011-03-03 21:24:03 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-03-03 21:24:03 +0000 |
commit | 261b34b70503ba2e2a803cd9664f35b2f2c4ae14 (patch) | |
tree | f2019a81e19e9f4f5c2922965f0a057b6fb64517 /src/table | |
parent | 91ddf07c80b82e780fae8e6212a20f9afc031a80 (diff) | |
download | openttd-261b34b70503ba2e2a803cd9664f35b2f2c4ae14.tar.xz |
(svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 twice for the same station id
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/station_land.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/station_land.h b/src/table/station_land.h index 2e46ba9f3..8b3b456c0 100644 --- a/src/table/station_land.h +++ b/src/table/station_land.h @@ -791,7 +791,7 @@ static const DrawTileSeqStruct _station_display_datas_waypoint_Y[] = { #define TILE_SPRITE_LINE(img, dtss) { {img, PAL_NONE}, dtss }, #define TILE_SPRITE_NULL() { {0, 0}, NULL }, -static const DrawTileSprites _station_display_datas_rail[] = { +extern const DrawTileSprites _station_display_datas_rail[] = { TILE_SPRITE_LINE(SPR_RAIL_TRACK_X, _station_display_datas_0) TILE_SPRITE_LINE(SPR_RAIL_TRACK_Y, _station_display_datas_1) TILE_SPRITE_LINE(SPR_RAIL_TRACK_X, _station_display_datas_2) |