# HG changeset patch # User unc0rr # Date 1255718275 0 # Node ID 31ba68a5020846d8673c53b39c0058550fa3cc3e # Parent 548f69de8db103dca01c4e46ec067253053ca450 - Tweak join/leave colour - Don't show how many shots left message when multishoot game flag set diff -r 548f69de8db1 -r 31ba68a50208 hedgewars/HHHandlers.inc --- a/hedgewars/HHHandlers.inc Fri Oct 16 18:04:38 2009 +0000 +++ b/hedgewars/HHHandlers.inc Fri Oct 16 18:37:55 2009 +0000 @@ -242,12 +242,10 @@ if ((Ammo^[CurSlot, CurAmmo].Propz) and ammoprop_Utility) = 0 then begin Inc(AttacksNum); - if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum) or - ((GameFlags and gfMultiWeapon) <> 0) then - begin - AddCaption(inttostr(Ammo^[CurSlot, CurAmmo].NumPerTurn+1-AttacksNum)+' '+trmsg[sidRemaining], $FFFFFF, capgrpAmmostate); - isInMultiShoot:= true - end + if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum) then + AddCaption(inttostr(Ammo^[CurSlot, CurAmmo].NumPerTurn+1-AttacksNum)+' '+trmsg[sidRemaining], $FFFFFF, capgrpAmmostate); + isInMultiShoot:= (Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum) or + ((GameFlags and gfMultiWeapon) <> 0) else begin TurnTimeLeft:= Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType].TimeAfterTurn; diff -r 548f69de8db1 -r 31ba68a50208 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Fri Oct 16 18:04:38 2009 +0000 +++ b/hedgewars/uChat.pas Fri Oct 16 18:37:55 2009 +0000 @@ -49,7 +49,7 @@ const colors: array[#1..#4] of Longword = ( $FFFFFF, // chat message $FF00FF, // action message - $00FF00, // join/leave message + $90FF90, // join/leave message $A0FFFF // team message );