hedgewars/uGears.pas
changeset 4637 0f22a53c4c1d
parent 4623 fa24dac6c473
child 4641 43d17e3b81de
equal deleted inserted replaced
4636:b7c3c7bc6d1f 4637:0f22a53c4c1d
  1117     cLaserSighting:= true;
  1117     cLaserSighting:= true;
  1118 
  1118 
  1119 if (GameFlags and gfArtillery) <> 0 then
  1119 if (GameFlags and gfArtillery) <> 0 then
  1120     cArtillery:= true;
  1120     cArtillery:= true;
  1121 
  1121 
  1122 if (Theme = 'Snow') then// or (Theme = 'Hell') then
  1122 if (Theme = 'Snow') or (Theme = 'Christmas') then
  1123     for i:= 0 to Pred(vobCount*2) do
  1123     for i:= 0 to Pred(vobCount*2) do
  1124         AddGear(GetRandom(LAND_WIDTH+1024)-512, LAND_HEIGHT - GetRandom(1024), gtFlake, 0, _0, _0, 0);
  1124         AddGear(GetRandom(LAND_WIDTH+1024)-512, LAND_HEIGHT - GetRandom(1024), gtFlake, 0, _0, _0, 0);
  1125 end;
  1125 end;
  1126 
  1126 
  1127 procedure doMakeExplosion(X, Y, Radius: LongInt; Mask: LongWord);
  1127 procedure doMakeExplosion(X, Y, Radius: LongInt; Mask: LongWord);