diff --git a/source/duke3d/src/game.cpp b/source/duke3d/src/game.cpp index f63938c46..b969fe72d 100644 --- a/source/duke3d/src/game.cpp +++ b/source/duke3d/src/game.cpp @@ -205,7 +205,13 @@ void G_HandleSpecialKeys(void) Bsprintf(titlebuf,HEAD2 " %s",s_buildRev); KB_ClearKeyDown(sc_F12); - screencapture("duke0000.tga",0,titlebuf); + screencapture( +#ifdef EDUKE32_STANDALONE + "duke0000.tga" +#else + "scrn0000.tga" +#endif + ,0,titlebuf); P_DoQuote(QUOTE_SCREEN_SAVED,g_player[myconnectindex].ps); } diff --git a/source/duke3d/src/osdcmds.cpp b/source/duke3d/src/osdcmds.cpp index a7048310c..5d24a1d33 100644 --- a/source/duke3d/src/osdcmds.cpp +++ b/source/duke3d/src/osdcmds.cpp @@ -1212,7 +1212,13 @@ static int32_t osdcmd_screenshot(const osdfuncparm_t *parm) { UNREFERENCED_PARAMETER(parm); // KB_ClearKeysDown(); - screencapture("duke0000.tga",0,"EDuke32"); + screencapture( +#ifdef EDUKE32_STANDALONE + "duke0000.tga" +#else + "scrn0000.tga" +#endif + ,0,"EDuke32"); return OSDCMD_OK; }