diff -r f2b18754742f -r 7a7611adf715 hedgewars/uAI.pas --- 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;