summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76b68fe)
raw | patch | inline | side by side (parent: 76b68fe)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 23 Dec 2019 23:04:33 +0000 (02:04 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 23 Dec 2019 23:04:33 +0000 (02:04 +0300) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 686f15692b6a73af4f9c728254ef1948967cba24..b34e2ef0c57ad0ff74121bb5cf99997ed7a8230d 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
procedure g_Game_Announce_BodyKill(SpawnerUID: Word);
procedure g_Game_StartVote(Command, Initiator: string);
procedure g_Game_CheckVote;
-procedure g_TakeScreenShot(Filename: string = ''; StatShot: Boolean = False);
+procedure g_TakeScreenShot(Filename: string = '');
procedure g_FatalError(Text: String);
procedure g_SimpleError(Text: String);
function g_Game_IsTestMap(): Boolean;
// HACK: take stats screenshot immediately after the first frame of the stats showing
if gScreenshotStats and not StatShotDone then
begin
- g_TakeScreenShot('stats/' + StatFilename, True);
+ g_TakeScreenShot('stats/' + StatFilename);
StatShotDone := True;
end;
end;
end;
end;
-procedure g_TakeScreenShot(Filename: string = ''; StatShot: Boolean = False);
+procedure g_TakeScreenShot(Filename: string = '');
var s: TStream; t: TDateTime; dir, date, name: String;
begin
if e_NoGraphics then Exit;