changeset 15232 | 263b9850c16d |
parent 15228 | 32678e65b25e |
child 15285 | b12f63054c94 |
--- a/hedgewars/uGearsUtils.pas Thu Jul 11 03:22:35 2019 +0200 +++ b/hedgewars/uGearsUtils.pas Thu Jul 11 04:42:50 2019 +0200 @@ -586,7 +586,13 @@ else Scale:= Scale + ((1-Scale) / 2); if Scale > 1 then Timer:= round(min(Scale*0.0005/cGravityf,4)) else Timer:= 1; - if Scale > 1 then Y:= Y + 10; + if Scale > 1 then + if (not isImpactH) then + Y:= Y + 10 + else if isImpactRight then + X:= X + 10 + else + X:= X - 10; // Low Gravity FrameTicks:= FrameTicks*Timer; end;