From: Severin Meyer Date: Sun, 14 Dec 2014 17:09:25 +0000 (+0100) Subject: Also open screenshots with LMB and space in the screenshotlist, analogous to the... X-Git-Tag: xonotic-v0.8.0~85^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=28b5887f660ef1110433d5f95524b7557532dada;p=xonotic%2Fxonotic-data.pk3dir.git Also open screenshots with LMB and space in the screenshotlist, analogous to the serverlist and maplist --- diff --git a/qcsrc/menu/xonotic/screenshotlist.c b/qcsrc/menu/xonotic/screenshotlist.c index e073c7235..dd8b61ed3 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; }