From ced3a0f6d926c8a8c86b5dd26c14280feb1ac47a Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 6 Feb 2012 21:04:54 +0100 Subject: [PATCH] zoomLimitedByTheBox should be set in the configure method --- qcsrc/menu/xonotic/screenshotimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/screenshotimage.c b/qcsrc/menu/xonotic/screenshotimage.c index adde95b87..f365d430e 100644 --- a/qcsrc/menu/xonotic/screenshotimage.c +++ b/qcsrc/menu/xonotic/screenshotimage.c @@ -29,11 +29,11 @@ entity makeXonoticScreenshotImage() void XonoticScreenshotImage_configureXonoticScreenshotImage(entity me) { me.configureXonoticImage(me, string_null, -2); + me.zoomLimitedByTheBox = FALSE; // enable this to forbid enlarging the image more than the containing box (if making use of draw_SetClip is a too bad thing) } void XonoticScreenshotImage_load(entity me, string theImage) { - //me.zoomLimitedByTheBox = 1; me.screenshotTime = time; me.src = theImage; if (me.screenshotTitle) -- 2.39.2