hedgewars/uGears.pas
changeset 3232 17d37ea2553c
parent 3230 6c8c1fe7c2b1
child 3236 4ab3917d7d44
--- a/hedgewars/uGears.pas	Thu Apr 01 08:26:16 2010 +0000
+++ b/hedgewars/uGears.pas	Thu Apr 01 09:04:42 2010 +0000
@@ -1464,7 +1464,7 @@
 
 if Gear^.Invulnerable then
     begin
-    glColor4f(1, 1, 1, 0.25 + abs(1 - ((RealTicks div 2) mod 1500) / 750));
+    glColor4f(1, 1, 1, 0.25 + abs(1 - ((RealTicks div 2 + Gear^.uid * 491) mod 1500) / 750));
     DrawSprite(sprInvulnerable, sx - 24, sy - 24, 0);
     glColor4f(1, 1, 1, 1);
     end;