hedgewars/uStats.pas
changeset 2619 bc2786a00fb8
parent 2143 ad05f6b2d1c0
child 2630 079ef82eac75
--- a/hedgewars/uStats.pas	Fri Nov 13 23:04:23 2009 +0000
+++ b/hedgewars/uStats.pas	Sat Nov 14 02:53:04 2009 +0000
@@ -108,7 +108,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), $FFFFFF, capgrpGameState);
+		if DamageGiven = CurrentHedgehog^.stats.StepDamageRecv then AddCaption(Format(GetEventString(eidHurtSelf), CurrentHedgehog^.Name), cWhiteColor, capgrpGameState);
 		end
 	else if DamageClan <> 0 then
 		if DamageTotal > DamageClan then
@@ -134,7 +134,7 @@
 	else if isTurnSkipped then
 		begin
 		PlaySound(sndBoring, false, PreviousTeam^.voicepack);
-		AddCaption(Format(GetEventString(eidTurnSkipped), CurrentHedgehog^.Name), $FFFFFF, capgrpGameState);
+		AddCaption(Format(GetEventString(eidTurnSkipped), CurrentHedgehog^.Name), cWhiteColor, capgrpGameState);
 		end
 	else
 		PlaySound(sndCoward, false, PreviousTeam^.voicepack);
@@ -215,4 +215,4 @@
 if KilledHHs > 0 then SendStat(siKilledHHs, inttostr(KilledHHs));
 end;
 
-end.
\ No newline at end of file
+end.