make rubber bouncy even in winter. was considering icy as well but, one, evil, two, would prob want ice sprite like girder
authornemo
Fri, 20 Dec 2013 22:25:06 -0500
changeset 9811 66a7959869f0
parent 9810 54c0fdec4600
child 9812 a293a9ecdc82
make rubber bouncy even in winter. was considering icy as well but, one, evil, two, would prob want ice sprite like girder
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Sat Dec 21 02:18:40 2013 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Fri Dec 20 22:25:06 2013 -0500
@@ -2498,8 +2498,8 @@
     rx:= hwRound(x);
 
     LandFlags:= 0;
-    if cIce then LandFlags:= lfIce
-    else if Gear^.AmmoType = amRubber then LandFlags:= lfBouncy;
+    if Gear^.AmmoType = amRubber then LandFlags:= lfBouncy
+    else if cIce then LandFlags:= lfIce;
 
     if ((Distance(tx - x, ty - y) > _256) and ((WorldEdge <> weWrap) or 
             (