summaryrefslogtreecommitdiff
path: root/src/heretic/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-20 21:48:37 +0000
committerSimon Howard2008-09-20 21:48:37 +0000
commit871d3b3da6c84be394963d1f5a41de12bfc5a2bc (patch)
treecb1e582bbe7ac68b5a2bf232c65606844295ca26 /src/heretic/g_game.c
parentf19a6f2ae93df6da9e39694b11e710c4e3b7594a (diff)
downloadchocolate-doom-871d3b3da6c84be394963d1f5a41de12bfc5a2bc.tar.gz
chocolate-doom-871d3b3da6c84be394963d1f5a41de12bfc5a2bc.tar.bz2
chocolate-doom-871d3b3da6c84be394963d1f5a41de12bfc5a2bc.zip
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
Diffstat (limited to 'src/heretic/g_game.c')
-rw-r--r--src/heretic/g_game.c3
1 files changed, 2 insertions, 1 deletions
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 <string.h>
#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: