# HG changeset patch # User antonc27 # Date 1439422420 -7200 # Node ID 6cdfd5fc08de4badda2a90c0677bd6fd6a2dac7d # Parent c402c68839a9a76b9835894b95f458838f7056a7 - Using come for internal memory management Note: This fixed crash with ansisitring deletion while loading 'en.txt' locale P.S. guys from #fpc suggested what this is just a spoof, not a real fix. maybe need more carefully mange memory here diff -r c402c68839a9 -r 6cdfd5fc08de hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Thu Aug 13 01:31:37 2015 +0200 +++ b/hedgewars/hwengine.pas Thu Aug 13 01:33:40 2015 +0200 @@ -29,7 +29,7 @@ program hwengine; {$ENDIF} -uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uInputHandler +uses cmem, SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uInputHandler , uSound, uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uAILandMarks, uLandTexture, uCollisions , SysUtils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted , uPhysFSLayer, uCursor, uRandom, ArgParsers, uVisualGearsHandlers, uTextures, uRender