--- a/hedgewars/HHHandlers.inc Fri Nov 13 23:04:23 2009 +0000
+++ b/hedgewars/HHHandlers.inc Sat Nov 14 02:53:04 2009 +0000
@@ -247,9 +247,7 @@
if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= MultiShootAttacks) then
begin
s:= inttostr(Ammo^[CurSlot, CurAmmo].NumPerTurn + 1 - MultiShootAttacks);
- AddCaption(format(trmsg[sidRemaining], s),
- $FFFFFF,
- capgrpAmmostate);
+ AddCaption(format(trmsg[sidRemaining], s), cWhiteColor, capgrpAmmostate);
end;
if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= MultiShootAttacks) or
@@ -571,7 +569,7 @@
inc(Gear^.FlightTime, 1);
if Gear^.FlightTime = 2000 then
begin
- AddCaption(GetEventString(eidHomerun), $FFFFFF, capgrpMessage);
+ AddCaption(GetEventString(eidHomerun), cWhiteColor, capgrpMessage);
PlaySound(sndHomerun, false, nil)
end;
end
@@ -734,7 +732,7 @@
AllInactive:= false;
// Death message
- AddCaption(Format(GetEventString(eidDied), PHedgehog(Gear^.Hedgehog)^.Name), $FFFFFF, capgrpMessage);
+ AddCaption(Format(GetEventString(eidDied), PHedgehog(Gear^.Hedgehog)^.Name), cWhiteColor, capgrpMessage);
end;
exit
end;