From d8a0cebac7d4f03977bf29374b835dd843df9620 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 3 Feb 2011 00:28:20 +0100 Subject: [PATCH] Fix compilation fail --- qcsrc/menu/xonotic/screenshotimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/screenshotimage.c b/qcsrc/menu/xonotic/screenshotimage.c index e348ddd17..b621c0f9d 100644 --- a/qcsrc/menu/xonotic/screenshotimage.c +++ b/qcsrc/menu/xonotic/screenshotimage.c @@ -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); } } } -- 2.39.2