From 9c797155a938f9ca309036bbbdc134f85e59a50d Mon Sep 17 00:00:00 2001 From: sireus Date: Wed, 11 May 2011 10:52:15 +0000 Subject: [PATCH] restore flashing flag icon (oops) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6419 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/renderhud.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index 5e3f885c..090c6265 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -984,10 +984,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat if((flaginfos[0].state==CTFF_STOLEN && flaginfos[0].actor == p && flaginfos[0].ack) || (flaginfos[1].state==CTFF_STOLEN && flaginfos[1].actor == p && flaginfos[1].ack && ++ft)) { - glColor4f(1.0f, 1.0f, 1.0f, (sinf(lastmillis/100.0f)+1.0f) / 2.0f); - glEnable(GL_BLEND); - drawctficon(VIRTW-225-10, VIRTH*5/8, 225, ft, 1, 1/2.0f, 255); - glDisable(GL_BLEND); + drawctficon(VIRTW-225-10, VIRTH*5/8, 225, ft, 1, 1/2.0f, (sinf(lastmillis/100.0f)+1.0f) *128); } } }