From 28b5887f660ef1110433d5f95524b7557532dada Mon Sep 17 00:00:00 2001 From: Severin Meyer Date: Sun, 14 Dec 2014 18:09:25 +0100 Subject: [PATCH] Also open screenshots with LMB and space in the screenshotlist, analogous to the serverlist and maplist --- qcsrc/menu/xonotic/screenshotlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/screenshotlist.c b/qcsrc/menu/xonotic/screenshotlist.c index e073c7235d..dd8b61ed3f 100644 --- a/qcsrc/menu/xonotic/screenshotlist.c +++ b/qcsrc/menu/xonotic/screenshotlist.c @@ -296,7 +296,7 @@ void XonoticScreenshotList_clickListBoxItem(entity me, float i, vector where) float XonoticScreenshotList_keyDown(entity me, float scan, float ascii, float shift) { - if(scan == K_ENTER || scan == K_KP_ENTER) { + if(scan == K_ENTER || scan == K_KP_ENTER || scan == K_MOUSE2 || scan == K_SPACE) { me.startScreenshot(me); return 1; } -- 2.39.2