hedgewars/uAI.pas
branchsdl2transition
changeset 11360 7a7611adf715
parent 9495 2fc346fadae3
child 11362 ed5a6478e710
equal deleted inserted replaced
9798:f2b18754742f 11360:7a7611adf715
   488     end;
   488     end;
   489 
   489 
   490 FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot));
   490 FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot));
   491 
   491 
   492 SDL_LockMutex(ThreadLock);
   492 SDL_LockMutex(ThreadLock);
   493 ThinkThread:= SDL_CreateThread(@Think{$IFDEF SDL2}, 'think'{$ENDIF}, Me);
   493 ThinkThread:= SDL_CreateThread(@Think, 'think', Me);
   494 SDL_UnlockMutex(ThreadLock);
   494 SDL_UnlockMutex(ThreadLock);
   495 end;
   495 end;
   496 
   496 
   497 {$IFDEF DEBUGAI}
   497 {$IFDEF DEBUGAI}
   498 var scoreShown: boolean = false;
   498 var scoreShown: boolean = false;