Engine:
authorsmxx
Thu, 04 Mar 2010 16:20:07 +0000
changeset 2931 97f75507e1cb
parent 2930 2106bfe3127d
child 2932 9bc0cf3c7ac1
Engine: * Reverted position selection pulsing
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Thu Mar 04 04:25:09 2010 +0000
+++ b/hedgewars/uWorld.pas	Thu Mar 04 16:20:07 2010 +0000
@@ -776,13 +776,9 @@
          i:= Ammo^[CurSlot, CurAmmo].Pos;
          with Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType] do
            if PosCount > 1 then
-              begin
-              glColor4f(1, 1, 1, abs(1 - (RealTicks mod 1500) / 750));
               DrawSprite(PosSprite, CursorPoint.X - SpritesData[PosSprite].Width div 2,
                                     cScreenHeight - CursorPoint.Y - SpritesData[PosSprite].Height div 2,
                                     i);
-              glColor4f(1, 1, 1, 1)
-              end;
          end;
    DrawSprite(sprArrow, CursorPoint.X, cScreenHeight - CursorPoint.Y, (RealTicks shr 6) mod 8)
    end;