summaryrefslogtreecommitdiff
path: root/src/heretic
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/heretic
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/heretic')
-rw-r--r--src/heretic/mn_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c
index ab80d860..a8e5d30f 100644
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -1112,7 +1112,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);