hedgewars/CCHandlers.inc
changeset 1743 ebc54f5fe4e7
parent 1656 209cf0e2fc36
child 1821 6b6cf3389f92
equal deleted inserted replaced
1742:cf97d1eecb12 1743:ebc54f5fe4e7
   541 FollowGear:= CurrentHedgehog^.Gear
   541 FollowGear:= CurrentHedgehog^.Gear
   542 end;
   542 end;
   543 
   543 
   544 procedure chPause(var s: shortstring);
   544 procedure chPause(var s: shortstring);
   545 begin
   545 begin
   546 isPaused:= not isPaused;
   546 if gameType <> gmtNet then
       
   547 	isPaused:= not isPaused;
   547 SDL_ShowCursor(ord(isPaused))
   548 SDL_ShowCursor(ord(isPaused))
   548 end;
   549 end;
   549 
   550 
   550 procedure chRotateMask(var s: shortstring);
   551 procedure chRotateMask(var s: shortstring);
   551 const map: array[0..7] of byte = (7,4,0,1,2,3,0,5);
   552 const map: array[0..7] of byte = (7,4,0,1,2,3,0,5);