From 1c32da08f957474a4a60b1667b53663cd5a64741 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 4 May 2019 22:09:07 +0000 Subject: [PATCH] just testing stuff git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5457 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/m_mp3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/m_mp3.c b/engine/client/m_mp3.c index d8ebfd82d..27fb17d7a 100644 --- a/engine/client/m_mp3.c +++ b/engine/client/m_mp3.c @@ -2977,10 +2977,10 @@ static void QDECL capture_raw_video (void *vctx, int frame, void *data, int stri char filename[MAX_OSPATH]; ctx->frames = frame+1; Q_snprintfz(filename, sizeof(filename), "%s%8.8i.%s", ctx->videonameprefix, frame, ctx->videonameextension); - if (SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true)) + if (!SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true)) { Sys_Sleep(1); - if (SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true)) + if (!SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true)) Con_DPrintf("Error writing frame %s\n", filename); }