- Using come for internal memory management ios-revival
authorantonc27 <antonc27@mail.ru>
Thu, 13 Aug 2015 01:33:40 +0200
branchios-revival
changeset 11111 6cdfd5fc08de
parent 11110 c402c68839a9
child 11112 520b57e0c518
- 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
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