hedgewars/hwengine.pas
branchqmlfrontend
changeset 11447 6b04a266feee
parent 11439 23912c93935a
child 11486 caa1e84c3ac2
--- a/hedgewars/hwengine.pas	Wed Dec 02 22:30:13 2015 +0300
+++ b/hedgewars/hwengine.pas	Thu Dec 03 23:59:06 2015 +0300
@@ -549,7 +549,7 @@
         RunEngine:= HaltUsageError
     else
     begin
-        SDL_CreateThread(@EngineThread, 'engine', nil);
+        t:= SDL_CreateThread(@EngineThread, 'engine', nil);
         SDL_DetachThread(t);
         RunEngine:= 0
     end