hedgewars/uWorld.pas
changeset 14760 5d5d7db9f417
parent 14759 9423d30ec205
child 14762 37a781d28e43
equal deleted inserted replaced
14759:9423d30ec205 14760:5d5d7db9f417
  1758             FreeAndNilTexture(fpsTexture);
  1758             FreeAndNilTexture(fpsTexture);
  1759             fpsTexture:= Surface2Tex(tmpSurface, false);
  1759             fpsTexture:= Surface2Tex(tmpSurface, false);
  1760             SDL_FreeSurface(tmpSurface)
  1760             SDL_FreeSurface(tmpSurface)
  1761             end;
  1761             end;
  1762         if fpsTexture <> nil then
  1762         if fpsTexture <> nil then
  1763             DrawTexture((cScreenWidth shr 1) - 60 - offsetY, offsetX, fpsTexture);
  1763             DrawTexture((cScreenWidth shr 1) - 20 - fpsTexture^.w - offsetY, offsetX, fpsTexture);
  1764         end;
  1764         end;
  1765 end;
  1765 end;
  1766 
  1766 
  1767 // Quit Y/N question
  1767 // Quit Y/N question
  1768 if GameState = gsConfirm then
  1768 if GameState = gsConfirm then