--- a/hedgewars/uAI.pas Mon Nov 14 18:03:31 2011 +0100
+++ b/hedgewars/uAI.pas Mon Nov 14 18:03:51 2011 +0100
@@ -320,10 +320,7 @@
//TODO: sdl_thread works on device but crashes in simulator, most likely because of outdated toolchain
BeginThread(@Think, Me, ThinkThread);
{$ELSE}
-{$IFDEF SDL13}
-ThinkThread := SDL_CreateThread(@Think, nil, Me);
-{$ELSE}
-ThinkThread := SDL_CreateThread(@Think, Me);
+ThinkThread := SDL_CreateThread(@Think{$IFDEF SDL13}, nil{$ENDIF}, Me);
{$ENDIF}
{$ENDIF}
AddFileLog('Thread started');