X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_game.pas;h=6e587868d4114524cb45887784d91528fdc99a9c;hp=46ac2fd3d479ebdd7fc6cd0049970b4159c37650;hb=2490c26ff92664ba96915ef1a7c6bd38c8137bda;hpb=5f94c756b7105cb6cc3c947451774c93f463b250 diff --git a/src/game/opengl/r_game.pas b/src/game/opengl/r_game.pas index 46ac2fd..6e58786 100644 --- a/src/game/opengl/r_game.pas +++ b/src/game/opengl/r_game.pas @@ -711,7 +711,9 @@ begin // HACK: take stats screenshot immediately after the first frame of the stats showing if gScreenshotStats and (not StatShotDone) and (Length(CustomStat.PlayerStat) > 1) then begin +{$IFNDEF HEADLESS} g_TakeScreenShot('stats/' + StatFilename); +{$ENDIF} StatShotDone := True; end; end;