Fix shotgun disappering when shooting
authorunc0rr
Tue, 22 Apr 2008 18:33:55 +0000
changeset 861 9588286683be
parent 860 6d062357d196
child 862 7c82903753a4
Fix shotgun disappering when shooting
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Tue Apr 22 17:59:11 2008 +0000
+++ b/hedgewars/uGears.pas	Tue Apr 22 18:33:55 2008 +0000
@@ -491,7 +491,8 @@
 	if CurAmmoGear <> nil then
 	begin
 		case CurAmmoGear^.Kind of
-			 gtRope: begin
+			gtShotgunShot: DrawRotated(sprHandShotgun, hx, hy, hwSign(Gear^.dX), aangle);
+			gtRope: begin
 				DrawHedgehog(hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy,
 						1,
 						1,