- Fix for app crash after ending game
Note: Note sure why halt() not working correctly, also must pay attention to memory management here
--- a/hedgewars/hwengine.pas Thu Aug 13 01:34:01 2015 +0200
+++ b/hedgewars/hwengine.pas Thu Aug 13 13:40:12 2015 +0200
@@ -607,7 +607,7 @@
{$IFDEF PAS2C}
exit(HaltNoError);
{$ELSE}
- halt(HaltNoError);
+ exit;
{$ENDIF}
{$IFDEF HWLIBRARY}
end;