Engine:
authorsmaxx
Mon, 23 Aug 2010 00:54:56 +0200
changeset 3754 cb42d83587f5
parent 3753 bb5a0252fb56
child 3755 02dc9fcb6477
Engine: * Changed steam to use the white smoke sprite
hedgewars/uVisualGears.pas
--- a/hedgewars/uVisualGears.pas	Mon Aug 23 00:46:06 2010 +0200
+++ b/hedgewars/uVisualGears.pas	Mon Aug 23 00:54:56 2010 +0200
@@ -441,7 +441,7 @@
                          else
                              DrawTextureF(SpritesData[sprFlame].Texture, Gear^.FrameTicks / 900, round(Gear^.X) + WorldDx, round(Gear^.Y) + WorldDy, (RealTicks shr 7 + Gear^.Frame) mod 8, 1, 16, 16);
                 vgtBubble: DrawSprite(sprBubbles, round(Gear^.X) + WorldDx - 8, round(Gear^.Y) + WorldDy - 8, Gear^.Frame);//(RealTicks div 64 + Gear^.Frame) mod 8);
-                vgtSteam: DrawSprite(sprExplPart, round(Gear^.X) + WorldDx - 16, round(Gear^.Y) + WorldDy - 16, 7 - Gear^.Frame);
+                vgtSteam: DrawSprite(sprSmokeWhite, round(Gear^.X) + WorldDx - 11, round(Gear^.Y) + WorldDy - 11, 7 - Gear^.Frame);
                 vgtAmmo: begin
                         Tint($FF, $FF, $FF, floor(Gear^.alpha * $FF));
                         DrawTextureF(ropeIconTex, Gear^.scale, round(Gear^.X) + WorldDx, round(Gear^.Y) + WorldDy, 0, 1, 32, 32);