]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation fail
authorterencehill <piuntn@gmail.com>
Wed, 2 Feb 2011 23:28:20 +0000 (00:28 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 2 Feb 2011 23:28:20 +0000 (00:28 +0100)
qcsrc/menu/xonotic/screenshotimage.c

index e348ddd17e056286d2b5c8e5c5a2a50b629d1d39..b621c0f9dd4ae06623e8939fdb8295df38255c87 100644 (file)
@@ -39,8 +39,8 @@ void XonoticScreenshotImage_draw(entity me)
                SUPER(XonoticScreenshotImage).draw(me);
                if (me.showTitle && time < me.showTitleTime + 1) // fade title out in 1 second
                {
-                       float alpha = (1 - (time - me.showTitleTime));
-                       draw_CenterText('0.5 0 0', me.screenshotTitle, me.realFontSize, '1 1 1', alpha, FALSE);
+                       float theAlpha = (1 - (time - me.showTitleTime));
+                       draw_CenterText('0.5 0 0', me.screenshotTitle, me.realFontSize, '1 1 1', theAlpha, FALSE);
                }
        }
 }