hedgewars/uGears.pas
changeset 1242 4aca5f7b2504
parent 1221 51e3f3cfdca5
child 1251 1f545d9a10ca
--- a/hedgewars/uGears.pas	Sun Aug 31 16:27:47 2008 +0000
+++ b/hedgewars/uGears.pas	Sun Aug 31 17:22:50 2008 +0000
@@ -852,12 +852,12 @@
 		(RealTicks div 128 + Gear^.Pos) mod 19,
 		hwSign(Gear^.dX),
 		0);
-	DrawRotatedF(sprHat,
+	DrawTextureF(PHedgehog(Gear^.Hedgehog)^.HatTex,
 		hwRound(Gear^.X) + 1 + WorldDx,
 		hwRound(Gear^.Y) - 8 + WorldDy,
 		(RealTicks div 128 + Gear^.Pos) mod 19,
 		hwSign(Gear^.dX),
-		0);
+		32);
 	end;
 
 with PHedgehog(Gear^.Hedgehog)^ do