Also open screenshots with LMB and space in the screenshotlist, analogous to the...
authorSeverin Meyer <sev.ch@web.de>
Sun, 14 Dec 2014 17:09:25 +0000 (18:09 +0100)
committerSeverin Meyer <sev.ch@web.de>
Sun, 14 Dec 2014 17:09:25 +0000 (18:09 +0100)
qcsrc/menu/xonotic/screenshotlist.c

index e073c72..dd8b61e 100644 (file)
@@ -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;
        }