hedgewars/uAI.pas
branchhedgeroid
changeset 6346 db58a42bb5e7
parent 6343 9df5a486f41e
parent 6341 ccc0a58e123d
child 6415 af2047bb4f70
--- 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');