From: DeaDDooMER Date: Fri, 29 Jul 2022 16:13:08 +0000 (+0300) Subject: game: fix screenshot size X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b00b458845d9f1bcf5d7643c47aaad4455600eb2;p=d2df-sdl.git game: fix screenshot size --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 5822952..4725120 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -7810,7 +7810,7 @@ begin name := e_CatPath(dir, Filename + '.png'); s := createDiskFile(name); try - e_MakeScreenshot(s, gWinSizeX, gWinSizeX); + e_MakeScreenshot(s, gWinSizeX, gWinSizeY); s.Free; g_Console_Add(Format(_lc[I_CONSOLE_SCREENSHOT], [name])) except