match snow to visual gear
authornemo
Tue, 28 Jun 2011 23:32:42 -0400
changeset 5355 9e0c51a882aa
parent 5352 7f57d0c7816a
child 5358 e2201f71beac
match snow to visual gear
hedgewars/GSHandlers.inc
hedgewars/VGSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Tue Jun 28 21:48:28 2011 -0400
+++ b/hedgewars/GSHandlers.inc	Tue Jun 28 23:32:42 2011 -0400
@@ -605,7 +605,7 @@
     begin
     with Gear^ do
         begin
-        X:= X + cWindSpeed * 1600 + dX;
+        X:= X + cWindSpeed * 3200 + dX;
         Y:= Y + dY + cGravity * vobFallSpeed * 8;  // using same value as flakes to try and get similar results
         xx:= hwRound(X);
         yy:= hwRound(Y);
--- a/hedgewars/VGSHandlers.inc	Tue Jun 28 21:48:28 2011 -0400
+++ b/hedgewars/VGSHandlers.inc	Tue Jun 28 23:32:42 2011 -0400
@@ -46,7 +46,7 @@
         inc(Frame);
         if Frame = vobSDFramesCount then Frame:= 0
         end;
-    X:= X + (cWindSpeedf * 600 + dX + tdX) * Steps;
+    X:= X + (cWindSpeedf * 400 + dX + tdX) * Steps;
     if SuddenDeathDmg then
         Y:= Y + (dY + tdY + cGravityf * vobSDFallSpeed) * Steps
     else