# HG changeset patch # User nemo # Date 1313342755 14400 # Node ID d1ebcf4df3300da06e28f0bb05362e6ed2dc21e7 # Parent a937d43a032fad0491c44e301563f510827bbf0d Change to "aura" due to odd crasher in DrawCircle, at least on my machine/driver. Less precise, but perhaps more attractive. diff -r a937d43a032f -r d1ebcf4df330 hedgewars/uGearsRender.pas --- a/hedgewars/uGearsRender.pas Sun Aug 14 20:53:52 2011 +0400 +++ b/hedgewars/uGearsRender.pas Sun Aug 14 13:25:55 2011 -0400 @@ -602,7 +602,11 @@ amSMine: DrawRotated(sprHandSMine, hx, hy, sign, aangle); amSeduction: begin DrawRotated(sprHandSeduction, hx, hy, sign, aangle); - DrawCircle(ox, oy, 248, 4, $FF, $00, $00, $AA); + // Crashes for some reason in glDrawArrays + //DrawCircle(ox, oy, 248, 4, $FF, $00, $00, $AA); + Tint($FF, $0, $0, $AA); + DrawTexture(ox - 240, oy - 240, SpritesData[sprVampiric].Texture, 10); + Tint($FF, $FF, $FF, $FF); end; amVampiric: DrawRotatedF(sprHandVamp, hx, hy, (RealTicks div 125) mod 4, sign, aangle); amRCPlane: begin