diff --git a/src/game/g_map.pas b/src/game/g_map.pas
index 54d22a183ba4a224133de8c67d6dbf2b8120bdca..c93344a6e41fb74e7125fb08afb7bff525d906d1 100644 (file)
--- a/src/game/g_map.pas
+++ b/src/game/g_map.pas
gExternalResources: array of TDiskFileInfo = nil;
gMovingWallIds: array of Integer = nil;
- gdbg_map_use_accel_render: Boolean = true;
gdbg_map_use_accel_coldet: Boolean = true;
profMapCollision: TProfiler = nil; //WARNING: FOR DEBUGGING ONLY!
{$ENDIF}
e_input, e_log, e_res, g_items, g_console,
g_weapons, g_game, g_sound, e_sound, CONFIG,
- g_options, g_triggers, g_player,
+ g_options, g_triggers, g_player, g_window,
Math, g_monsters, g_saveload, g_language, g_netmsg,
sfs, xstreams, hashtable, wadreader,
g_res_downloader
Textures[High(Textures)].TextureName := RecName;
Result := High(Textures);
TextNameHash.put(HName, result);
+ FreeMem(ResData);
end;
- FreeMem(ResData);
end;
WAD.Free;
end