hedgewars/uGearsHedgehog.pas
changeset 12497 47be9f3e61e9
parent 12469 39d780f9bf35
child 12605 ef780eda6e48
equal deleted inserted replaced
12496:24cd4840d3e2 12497:47be9f3e61e9
  1260             end;
  1260             end;
  1261         end;
  1261         end;
  1262     isCursorVisible:= false;
  1262     isCursorVisible:= false;
  1263     HHGear^.State:= HHGear^.State and (not (gstHHDriven or gstAnimation or gstAttacking));
  1263     HHGear^.State:= HHGear^.State and (not (gstHHDriven or gstAnimation or gstAttacking));
  1264     AttackBar:= 0;
  1264     AttackBar:= 0;
       
  1265     StopSound(sndThrowPowerUp);
  1265     LuaEndTurnRequested:= false;
  1266     LuaEndTurnRequested:= false;
  1266     LuaNoEndTurnTaunts:= false;
  1267     LuaNoEndTurnTaunts:= false;
  1267     if HHGear^.Damage > 0 then
  1268     if HHGear^.Damage > 0 then
  1268         HHGear^.State:= HHGear^.State and (not (gstHHJumping or gstHHHJump));
  1269         HHGear^.State:= HHGear^.State and (not (gstHHJumping or gstHHHJump));
  1269     exit
  1270     exit