# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1559580968 -7200
# Node ID 7a54df47b852bba4527fd018986a7e34973a98ee
# Parent  b4a0dc4e85e8515aa59d0f72c884f211d4b5da05
Fix parachute being drawn behind tags and objects

diff -r b4a0dc4e85e8 -r 7a54df47b852 ChangeLog.txt
--- a/ChangeLog.txt	Mon Jun 03 16:49:42 2019 +0200
+++ b/ChangeLog.txt	Mon Jun 03 18:56:08 2019 +0200
@@ -97,7 +97,7 @@
  * Fix wrong ice beam angle if it goes diagonally up out of map through world wrap
  * Fix double water splash when flying saucer drowns
  * Fix odd floating pixels when wielding and rotating cleaver
- * Fix birdy being drawn behind hedgehogs and objects
+ * Fix parachute and birdy sometimes being drawn behind hedgehogs and objects
 
 Game HUD:
  + Display current hog health (and related status icons) at top right corner
diff -r b4a0dc4e85e8 -r 7a54df47b852 hedgewars/uGearsList.pas
--- a/hedgewars/uGearsList.pas	Mon Jun 03 16:49:42 2019 +0200
+++ b/hedgewars/uGearsList.pas	Mon Jun 03 18:56:08 2019 +0200
@@ -330,6 +330,7 @@
                              ((GetRandom(90)+128) shl 16) or
                              (($d5+c) shl 8) or $ff}
                 end;
+   gtParachute: gear^.Z:= cCurrHHZ;
        gtShell: begin
                 gear^.Elasticity:= _0_8;
                 gear^.Friction:= _0_8;