Since when do we use ARGB for colours?? All our internal colours are supposed to be RGBA
authornemo
Tue, 22 Mar 2011 01:30:51 -0400
changeset 5039 2376d5899ff9
parent 5038 c77241027071
child 5040 c6cd873ac13a
Since when do we use ARGB for colours?? All our internal colours are supposed to be RGBA
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Mon Mar 21 22:38:27 2011 -0400
+++ b/hedgewars/uGearsRender.pas	Tue Mar 22 01:30:51 2011 -0400
@@ -1041,7 +1041,7 @@
            gtFlake: if (Gear^.State and gstTmpFlag) <> 0 then
                         //DrawRotatedTextureF(SpritesData[sprSnowBall].Texture, 1, 0, 0, x, y, 0, 1, 8, 8, Gear^.DirAngle)
                         begin
-                        Tint(cExplosionBorderColor);
+                        Tint(cExplosionBorderColor shl 8 or $000000FF);
                         //DrawRotated(sprSnow, x, y, 0, Gear^.DirAngle);
                         // Needs a nicer white texture to tint
                         DrawTexture(x, y, SpritesData[sprVampiric].Texture, 0.1);