hedgewars/uAI.pas
changeset 9317 a04c30940d2d
parent 9080 9b42757d7e71
child 9495 2fc346fadae3
equal deleted inserted replaced
9315:15487f7fed42 9317:a04c30940d2d
   480     end;
   480     end;
   481 
   481 
   482 FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot));
   482 FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot));
   483 
   483 
   484 SDL_LockMutex(ThreadLock);
   484 SDL_LockMutex(ThreadLock);
   485 ThinkThread:= SDL_CreateThread(@Think{$IFDEF SDL13}, 'think'{$ENDIF}, Me);
   485 ThinkThread:= SDL_CreateThread(@Think{$IFDEF SDL2}, 'think'{$ENDIF}, Me);
   486 SDL_UnlockMutex(ThreadLock);
   486 SDL_UnlockMutex(ThreadLock);
   487 end;
   487 end;
   488 
   488 
   489 {$IFDEF DEBUGAI}
   489 {$IFDEF DEBUGAI}
   490 var scoreShown: boolean = false;
   490 var scoreShown: boolean = false;