514 begin |
514 begin |
515 amt:= CurrentHedgehog^.Ammo^[CurrentHedgehog^.CurSlot, CurrentHedgehog^.CurAmmo].AmmoType; |
515 amt:= CurrentHedgehog^.Ammo^[CurrentHedgehog^.CurSlot, CurrentHedgehog^.CurAmmo].AmmoType; |
516 hx:= hwRound(Gear^.X) + 1 + 8 * hwSign(Gear^.dX) + WorldDx; |
516 hx:= hwRound(Gear^.X) + 1 + 8 * hwSign(Gear^.dX) + WorldDx; |
517 hy:= hwRound(Gear^.Y) - 2 + WorldDy; |
517 hy:= hwRound(Gear^.Y) - 2 + WorldDy; |
518 aangle:= Gear^.Angle * 180 / cMaxAngle - 90; |
518 aangle:= Gear^.Angle * 180 / cMaxAngle - 90; |
|
519 |
519 case amt of |
520 case amt of |
520 amBazooka: DrawRotated(sprHandBazooka, hx, hy, hwSign(Gear^.dX), aangle); |
521 amBazooka: DrawRotated(sprHandBazooka, hx, hy, hwSign(Gear^.dX), aangle); |
521 amRope: DrawRotated(sprHandRope, hx, hy, hwSign(Gear^.dX), aangle); |
522 amRope: DrawRotated(sprHandRope, hx, hy, hwSign(Gear^.dX), aangle); |
522 amShotgun: DrawRotated(sprHandShotgun, hx, hy, hwSign(Gear^.dX), aangle); |
523 amShotgun: DrawRotated(sprHandShotgun, hx, hy, hwSign(Gear^.dX), aangle); |
523 amDEagle: DrawRotated(sprHandDEagle, hx, hy, hwSign(Gear^.dX), aangle); |
524 amDEagle: DrawRotated(sprHandDEagle, hx, hy, hwSign(Gear^.dX), aangle); |
524 else |
|
525 end; |
525 end; |
|
526 |
526 case amt of |
527 case amt of |
527 amBazooka, |
528 amBazooka, |
528 amRope, |
529 amRope, |
529 amShotgun, |
530 amShotgun, |
530 amDEagle: begin |
531 amDEagle: begin |