hedgewars/HHHandlers.inc
changeset 1749 7170f626e9d6
parent 1712 f5b916de40f0
child 1849 2a989e5abda6
--- a/hedgewars/HHHandlers.inc	Sun Jan 25 13:57:48 2009 +0000
+++ b/hedgewars/HHHandlers.inc	Sun Jan 25 13:58:59 2009 +0000
@@ -510,7 +510,8 @@
 	begin
 	TurnTimeLeft:= 0;
 	isCursorVisible:= false;
-	Gear^.State:= Gear^.State and not (gstHHDriven or gstAnimation);
+	Gear^.State:= Gear^.State and not (gstHHDriven or gstAnimation or gstAttacking);
+	AttackBar:= 0;
 	if Gear^.Damage > 0 then
 		Gear^.State:= Gear^.State and not (gstHHJumping or gstHHHJump);
 	exit