hedgewars/uAI.pas
branchspacecampaign
changeset 9382 f1464fa10c0b
parent 9317 a04c30940d2d
child 9495 2fc346fadae3
equal deleted inserted replaced
9346:1245c7636380 9382:f1464fa10c0b
   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;