DEADSOFTWARE

game: fix screenshot size
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 29 Jul 2022 16:13:08 +0000 (19:13 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 29 Jul 2022 16:13:08 +0000 (19:13 +0300)
src/game/g_game.pas

index 5822952a5e8383595a747ebfd831ac19bdc4e06c..47251204f2b021a78262a60f265d830d63308bda 100644 (file)
@@ -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