hedgewars/uStats.pas
changeset 11919 c9bad8a01185
parent 11574 294ce0fa65d0
child 12100 e1bca1ebbad9
equal deleted inserted replaced
11918:232b57a70aca 11919:c9bad8a01185
   139 
   139 
   140     else if AmmoDamagingUsed then
   140     else if AmmoDamagingUsed then
   141         AddVoice(sndMissed, PreviousTeam^.voicepack)
   141         AddVoice(sndMissed, PreviousTeam^.voicepack)
   142     else if (AmmoUsedCount > 0) and (not isTurnSkipped) then
   142     else if (AmmoUsedCount > 0) and (not isTurnSkipped) then
   143         begin end// nothing ?
   143         begin end// nothing ?
   144     else if isTurnSkipped then
   144     else if isTurnSkipped and not PlacingHogs then
   145         begin
   145         begin
   146         AddVoice(sndBoring, PreviousTeam^.voicepack);
   146         AddVoice(sndCoward, PreviousTeam^.voicepack);
   147         AddCaption(FormatA(GetEventString(eidTurnSkipped), s), cWhiteColor, capgrpMessage);
   147         AddCaption(FormatA(GetEventString(eidTurnSkipped), s), cWhiteColor, capgrpMessage);
   148         end
   148         end
   149     else if not PlacingHogs then
       
   150         AddVoice(sndCoward, PreviousTeam^.voicepack);
       
   151     end;
   149     end;
   152 
   150 
   153 
   151 
   154 for t:= 0 to Pred(TeamsCount) do // send even on zero turn
   152 for t:= 0 to Pred(TeamsCount) do // send even on zero turn
   155     with TeamsArray[t]^ do
   153     with TeamsArray[t]^ do