summaryrefslogtreecommitdiff
path: root/src/doom
diff options
context:
space:
mode:
authorFabian Greffrath2014-03-18 06:56:11 +0100
committerFabian Greffrath2014-03-18 06:56:11 +0100
commit20db96ec6aa47a89eabaf215eae0dc5edac08f36 (patch)
tree824fad5f68d4fd3d4418d891bada03d3fa742023 /src/doom
parent7d8526e3ba91fef73e5c6129cce9a629cb3c8bb4 (diff)
downloadchocolate-doom-20db96ec6aa47a89eabaf215eae0dc5edac08f36.tar.gz
chocolate-doom-20db96ec6aa47a89eabaf215eae0dc5edac08f36.tar.bz2
chocolate-doom-20db96ec6aa47a89eabaf215eae0dc5edac08f36.zip
Add a dedicated key for taking screenshots.
Diffstat (limited to 'src/doom')
-rw-r--r--src/doom/m_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doom/m_menu.c b/src/doom/m_menu.c
index 85a0cd76..36f7f809 100644
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -1662,7 +1662,8 @@ boolean M_Responder (event_t* ev)
return true;
}
- if (devparm && key == key_menu_help)
+ if ((devparm && key == key_menu_help) ||
+ key == key_menu_screenshot)
{
G_ScreenShot ();
return true;