From 871d3b3da6c84be394963d1f5a41de12bfc5a2bc Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 Sep 2008 21:48:37 +0000 Subject: Remove bits from heretic/m_misc.c that are in common; change V_ScreenShot to take a format string describing the format of the filename for the screen shot file. Subversion-branch: /branches/raven-branch Subversion-revision: 1255 --- src/heretic/g_game.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/heretic/g_game.c') diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c index 87ac8f94..1441855b 100644 --- a/src/heretic/g_game.c +++ b/src/heretic/g_game.c @@ -27,6 +27,7 @@ #include #include "doomdef.h" #include "doomkeys.h" +#include "m_misc.h" #include "p_local.h" #include "s_sound.h" #include "v_video.h" @@ -963,7 +964,7 @@ void G_Ticker(void) G_DoPlayDemo(); break; case ga_screenshot: - M_ScreenShot(); + V_ScreenShot("HTIC%02i.pcx"); gameaction = ga_nothing; break; case ga_completed: -- cgit v1.2.3