# HG changeset patch # User nemo # Date 1387410223 18000 # Node ID a44963cc6648844aa40d5531af37e3a66c00aefe # Parent 091054b78cad69af448ef600246f189574f5fefe christmas eve too (matches frontend) diff -r 091054b78cad -r a44963cc6648 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Wed Dec 18 15:13:58 2013 -0500 +++ b/hedgewars/uStore.pas Wed Dec 18 18:43:43 2013 -0500 @@ -242,11 +242,11 @@ NameTagTex:= RenderStringTexLim(Name, Clan^.Color, fnt16, cTeamHealthWidth); if Hat = 'NoHat' then begin - if ((month = 4) and (md = 20)) then - Hat := 'eastertop'; // Easter - if ((month = 12) and (md = 25)) then - Hat := 'Santa'; // Christmas - if ((month = 10) and (md = 31)) then + if (month = 4) and (md = 20) then + Hat := 'eastertop' // Easter + else if (month = 12) and ((md = 25) or (md = 24)) then + Hat := 'Santa' // Christmas/Christmas Eve + else if (month = 10) and (md = 31) then Hat := 'fr_pumpkin'; // Halloween/Hedgewars' birthday end;