enable snow on Christmas theme
authornemo
Wed, 22 Dec 2010 21:33:46 -0500
changeset 4637 0f22a53c4c1d
parent 4636 b7c3c7bc6d1f
child 4638 e5b0fa933f7f
enable snow on Christmas theme
hedgewars/GSHandlers.inc
hedgewars/uGears.pas
--- a/hedgewars/GSHandlers.inc	Thu Dec 23 01:35:06 2010 +0100
+++ b/hedgewars/GSHandlers.inc	Wed Dec 22 21:33:46 2010 -0500
@@ -637,7 +637,7 @@
         if move then
             begin
             X:= int2hwFloat(GetRandom(LAND_WIDTH+1024)-512);
-            Y:= int2hwFloat(650+(GetRandom(50)-25))
+            Y:= int2hwFloat(750+(GetRandom(50)-25))
             end
         end
     end
--- a/hedgewars/uGears.pas	Thu Dec 23 01:35:06 2010 +0100
+++ b/hedgewars/uGears.pas	Wed Dec 22 21:33:46 2010 -0500
@@ -1119,7 +1119,7 @@
 if (GameFlags and gfArtillery) <> 0 then
     cArtillery:= true;
 
-if (Theme = 'Snow') then// or (Theme = 'Hell') then
+if (Theme = 'Snow') or (Theme = 'Christmas') then
     for i:= 0 to Pred(vobCount*2) do
         AddGear(GetRandom(LAND_WIDTH+1024)-512, LAND_HEIGHT - GetRandom(1024), gtFlake, 0, _0, _0, 0);
 end;