From: terencehill Date: Wed, 2 Feb 2011 23:28:20 +0000 (+0100) Subject: Fix compilation fail X-Git-Tag: xonotic-v0.8.0~139^2~1^2~155^2~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d8a0cebac7d4f03977bf29374b835dd843df9620;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation fail --- 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); } } }