]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qc
Header police
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_multiplayer_media_screenshot_viewer.qc
index 3cf20b7b5c01bea40b73c08d3b2bffe6fac1fa9b..3a2f90091267ba92e81bb63fb3a6825441c3093a 100644 (file)
@@ -1,3 +1,4 @@
+#include "dialog_multiplayer_media_screenshot_viewer.qh"
 #ifndef DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H
 #define DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H
 #include "dialog.qc"
@@ -98,7 +99,7 @@ float XonoticScreenshotViewerDialog_keyDown(entity me, float key, float ascii, f
                        // to press buttons while browsing with only the keyboard
                        if (shift & S_CTRL)
                        {
-                               toggleSlideShow_Click(world, me);
+                               toggleSlideShow_Click(NULL, me);
                                return 1;
                        }
                        return SUPER(XonoticScreenshotViewerDialog).keyDown(me, key, ascii, shift);