fix copypasta-fail that would cause splashes to use invalid sprite data pointer. should fix
issue #838
--- a/hedgewars/uVisualGears.pas Sat Nov 29 21:29:32 2014 -0500
+++ b/hedgewars/uVisualGears.pas Sun Nov 30 17:20:37 2014 +0100
@@ -213,7 +213,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);
vgtSplash: begin
- spriteData:= GetSpriteData(sprSplash, sprite);
+ spriteData:= GetSpriteData(sprSplash, sprSDSplash);
if Gear^.Angle <> 0 then
DrawTextureRotatedF(spriteData^.Texture, Gear^.scale, 0, 0, round(Gear^.X + WorldDx + (((spriteData^.Height+8)*Gear^.Scale)/2) * (Gear^.Angle / abs(Gear^.Angle))), round(Gear^.Y + WorldDy), 19 - (Gear^.FrameTicks div Gear^.Timer div 37), 1, spriteData^.Width, spriteData^.Height, Gear^.Angle)
else