hedgewars/uStats.pas
changeset 2712 8f4527c9137c
parent 2630 079ef82eac75
child 2716 b9ca1bfca24f
--- a/hedgewars/uStats.pas	Sun Jan 24 16:39:09 2010 +0000
+++ b/hedgewars/uStats.pas	Sun Jan 24 16:46:06 2010 +0000
@@ -110,7 +110,7 @@
 	else if CurrentHedgehog^.stats.StepDamageRecv > 0 then
 		begin
 		PlaySound(sndStupid, false, PreviousTeam^.voicepack);
-		if DamageGiven = CurrentHedgehog^.stats.StepDamageRecv then AddCaption(Format(GetEventString(eidHurtSelf), CurrentHedgehog^.Name), cWhiteColor, capgrpGameState);
+		if DamageGiven = CurrentHedgehog^.stats.StepDamageRecv then AddCaption(Format(GetEventString(eidHurtSelf), CurrentHedgehog^.Name), cWhiteColor, capgrpMessage);
 		end
 	else if DamageClan <> 0 then
 		if DamageTotal > DamageClan then
@@ -136,7 +136,7 @@
 	else if isTurnSkipped then
 		begin
 		PlaySound(sndBoring, false, PreviousTeam^.voicepack);
-		AddCaption(Format(GetEventString(eidTurnSkipped), CurrentHedgehog^.Name), cWhiteColor, capgrpGameState);
+		AddCaption(Format(GetEventString(eidTurnSkipped), CurrentHedgehog^.Name), cWhiteColor, capgrpMessage);
 		end
 	else
 		PlaySound(sndCoward, false, PreviousTeam^.voicepack);