hedgewars/uCommandHandlers.pas
changeset 9674 8f2b0b925513
parent 9671 6e95617988c9
child 9693 9e31e3bb4476
equal deleted inserted replaced
9673:5be4de0eb4b0 9674:8f2b0b925513
   641 begin
   641 begin
   642 s:= s; // avoid compiler hint
   642 s:= s; // avoid compiler hint
   643 if gameType <> gmtNet then
   643 if gameType <> gmtNet then
   644     isPaused:= not isPaused
   644     isPaused:= not isPaused
   645     else
   645     else
   646     isAFK:= not isAFK;
   646     if (CurrentTeam^.ExtDriven) or (CurrentHedgehog^.BotLevel > 0) then
       
   647         isAFK:= not isAFK
       
   648     else
       
   649         isAFK:= false; // for real ninjas
   647 
   650 
   648 if isPaused or isAFK then
   651 if isPaused or isAFK then
   649     SDL_ShowCursor(1)
   652     SDL_ShowCursor(1)
   650     else
   653     else
   651     SDL_ShowCursor(ord(GameState = gsConfirm))
   654     SDL_ShowCursor(ord(GameState = gsConfirm))