hedgewars/uGearsRender.pas
changeset 6924 57b66ee3bff3
parent 6788 88036f0e0a92
child 6982 8d41d22a291d
--- a/hedgewars/uGearsRender.pas	Tue Apr 24 23:33:39 2012 +0400
+++ b/hedgewars/uGearsRender.pas	Tue Apr 24 23:50:40 2012 +0400
@@ -592,7 +592,7 @@
                 dec(HH^.Timer)
                 end;
             amt:= CurrentHedgehog^.CurAmmoType;
-            CurWeapon:= GetAmmoEntry(HH^);
+            CurWeapon:= GetCurAmmoEntry(HH^);
             case amt of
                 amBazooka: DrawRotated(sprHandBazooka, hx, hy, sign, aangle);
                 amSnowball: DrawRotated(sprHandSnowball, hx, hy, sign, aangle);