+#include "dialog_multiplayer_media_screenshot_viewer.qh"
#ifndef DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H
#define DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H
#include "dialog.qc"
// 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);