changeset 377 | d9b88dbdf5a9 |
parent 375 | 18012da67681 |
child 393 | db01cc79f278 |
--- a/hedgewars/CCHandlers.inc Sun Jan 28 21:03:58 2007 +0000 +++ b/hedgewars/CCHandlers.inc Thu Feb 01 21:42:11 2007 +0000 @@ -100,8 +100,7 @@ var c: LongInt; begin if CurrentTeam = nil then OutError(errmsgIncorrectUse + ' "/color"', true); -//val(id, CurrentTeam^.Color, c); -CurrentTeam^.Color:= random($FFFFFF); +val(id, CurrentTeam^.Color, c); CurrentTeam^.AdjColor:= CurrentTeam^.Color; AdjustColor(CurrentTeam^.AdjColor) end;