hedgewars/uGears.pas
changeset 2770 851313907bcb
parent 2762 2fbc8d35eb52
child 2771 477957a89881
equal deleted inserted replaced
2769:82bfcc006afb 2770:851313907bcb
   671 		if CurrentHedgehog^.Gear <> nil then
   671 		if CurrentHedgehog^.Gear <> nil then
   672 			if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
   672 			if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
   673 				and not isInMultiShoot then
   673 				and not isInMultiShoot then
   674 				begin
   674 				begin
   675 				if (TurnTimeLeft = 5000)
   675 				if (TurnTimeLeft = 5000)
       
   676                     and (not PlacingHogs)
   676 					and (CurrentHedgehog^.Gear <> nil)
   677 					and (CurrentHedgehog^.Gear <> nil)
   677 					and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) then
   678 					and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) then
   678 						PlaySound(sndHurry, CurrentTeam^.voicepack);
   679 						PlaySound(sndHurry, CurrentTeam^.voicepack);
   679 				dec(TurnTimeLeft)
   680 				dec(TurnTimeLeft)
   680 				end;
   681 				end;