hedgewars/uGearsHedgehog.pas
changeset 12327 9aa483762025
parent 12323 f4d3810a3b54
child 12436 031af5544333
equal deleted inserted replaced
12326:1be56fa243c8 12327:9aa483762025
  1237     if (Hedgehog^.CurAmmoType = amKnife) then
  1237     if (Hedgehog^.CurAmmoType = amKnife) then
  1238        LoadHedgehogHat(Hedgehog^, Hedgehog^.Hat);
  1238        LoadHedgehogHat(Hedgehog^, Hedgehog^.Hat);
  1239     if TagTurnTimeLeft = 0 then
  1239     if TagTurnTimeLeft = 0 then
  1240         TagTurnTimeLeft:= TurnTimeLeft;
  1240         TagTurnTimeLeft:= TurnTimeLeft;
  1241     TurnTimeLeft:= 0;
  1241     TurnTimeLeft:= 0;
  1242     if ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
  1242     if (GameOver = false) and ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
  1243         begin
  1243         begin
  1244         AddVoice(sndBoring, Hedgehog^.Team^.voicepack);
  1244         AddVoice(sndBoring, Hedgehog^.Team^.voicepack);
  1245         if (GameFlags and gfInfAttack = 0) then
  1245         if (GameFlags and gfInfAttack = 0) then
  1246             begin
  1246             begin
  1247             s:= Hedgehog^.Name;
  1247             s:= Hedgehog^.Name;