From: terencehill Date: Mon, 6 Feb 2012 20:04:54 +0000 (+0100) Subject: zoomLimitedByTheBox should be set in the configure method X-Git-Tag: xonotic-v0.8.0~139^2~1^2~155^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ced3a0f6d926c8a8c86b5dd26c14280feb1ac47a;p=xonotic%2Fxonotic-data.pk3dir.git zoomLimitedByTheBox should be set in the configure method --- 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)