summaryrefslogtreecommitdiff
path: root/src/hexen
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/hexen
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/hexen')
-rw-r--r--src/hexen/mn_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index a6dbd19e..84a8a3ec 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1212,7 +1212,8 @@ boolean MN_Responder(event_t * event)
return (true); //make the info screen eat the keypress
}
- if (ravpic && key == KEY_F1)
+ if ((ravpic && key == KEY_F1) ||
+ key == key_menu_screenshot)
{
G_ScreenShot();
return (true);