]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 e073c7235d25a165abaa53569cb7d268026dccf4..dd8b61ed3f97fc942a456ef2799939c1f9e17f2a 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;
        }