hedgewars/uFLNet.pas
branchqmlfrontend
changeset 11403 b894922d58cc
parent 10953 360e57620df3
child 11413 ffff8a0d1a76
--- a/hedgewars/uFLNet.pas	Tue Sep 08 19:20:58 2015 +0300
+++ b/hedgewars/uFLNet.pas	Mon Nov 16 22:57:24 2015 +0300
@@ -218,7 +218,7 @@
     if SDLNet_ResolveHost(ipaddr, PChar('netserver.hedgewars.org'), 46631) = 0 then
         sock:= SDLNet_TCP_Open(ipaddr);
 
-    SDL_CreateThread(@netWriter{$IFDEF SDL2}, 'netWriter'{$ENDIF}, sock);
+    SDL_CreateThread(@netWriter, 'netWriter', sock);
 
     repeat
         c:= getNextChar;
@@ -276,7 +276,7 @@
     state.l:= 0;
     state.netState:= netConnecting;
 
-    netReaderThread:= SDL_CreateThread(@netReader{$IFDEF SDL2}, 'netReader'{$ENDIF}, nil);
+    netReaderThread:= SDL_CreateThread(@netReader, 'netReader', nil);
 end;
 
 procedure initModule;