hedgewars/uAI.pas
branchsdl2transition
changeset 11360 7a7611adf715
parent 9495 2fc346fadae3
child 11362 ed5a6478e710
--- a/hedgewars/uAI.pas	Tue Dec 17 00:02:52 2013 +0400
+++ b/hedgewars/uAI.pas	Tue Nov 10 17:45:14 2015 +0100
@@ -490,7 +490,7 @@
 FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot));
 
 SDL_LockMutex(ThreadLock);
-ThinkThread:= SDL_CreateThread(@Think{$IFDEF SDL2}, 'think'{$ENDIF}, Me);
+ThinkThread:= SDL_CreateThread(@Think, 'think', Me);
 SDL_UnlockMutex(ThreadLock);
 end;