X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=5f7a640fed538e614ce7446bcb863da4c509ebad;hb=e67eefd7aeb6b4064c66bd6e62930548e386d4a9;hp=d1e15d1f55ec4cd84a08288df971a121e09a0dcc;hpb=1d2e06758e0a764995c8363c21d0f1f24efaea17;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index d1e15d1..5f7a640 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -1972,7 +1972,22 @@ begin // Статистика по Tab: if gGameOn then + begin IsDrawStat := (not gConsoleShow) and (not gChatShow) and (gGameSettings.GameType <> GT_SINGLE) and g_Console_Action(ACTION_SCORES); + end + else + begin + if g_Console_Action(ACTION_SCORES) then + begin + if not gStatsPressed then + begin + gStatsOff := not gStatsOff; + gStatsPressed := True; + end; + end + else + gStatsPressed := False; + end; // Игра идет: if gGameOn and not gPause and (gState <> STATE_FOLD) then