Fix no damage from hitting ground after HALO if autoOpenChute=-1

My mistake when adding this.
This commit is contained in:
ebaydayz
2016-12-10 20:25:36 -05:00
parent 6ecdabc92d
commit 2a1bd74eca
2 changed files with 3 additions and 2 deletions

View File

@@ -18,5 +18,6 @@
[FIXED] WoodenArrow and other WeaponHolderBase inherited objects catching fire when destroyed due to destrType. #1815 @DeVloek @ebayShopper [FIXED] WoodenArrow and other WeaponHolderBase inherited objects catching fire when destroyed due to destrType. #1815 @DeVloek @ebayShopper
[FIXED] Arrows floating in air when shot at same position against a wall multiple times. #1815 @DeVloek @ebayShopper [FIXED] Arrows floating in air when shot at same position against a wall multiple times. #1815 @DeVloek @ebayShopper
[FIXED] Swimming in ground glitch when relogging at certain positions on certain maps like Napf and Tavi. @ebayShopper [FIXED] Swimming in ground glitch when relogging at certain positions on certain maps like Napf and Tavi. @ebayShopper
[FIXED] No damage from hitting ground after HALO jump when DZE_HaloOpenChuteHeight was set to -1. @ebayShopper
[INFO] See Documents\CHANGE LOG 1.0.6.txt for the full list of 1.0.5.1 --> 1.0.6 changes. [INFO] See Documents\CHANGE LOG 1.0.6.txt for the full list of 1.0.5.1 --> 1.0.6 changes.

View File

@@ -174,7 +174,6 @@ if (typename _this == typename objnull) then {
],"PLAIN DOWN",0.01 ],"PLAIN DOWN",0.01
]; ];
}; };
player allowDamage false; //Prevent glitch death when opening chute
uiSleep 0.01; uiSleep 0.01;
}; };
@@ -249,6 +248,7 @@ if (typename _this == typename []) then {
_para = objnull; _para = objnull;
_vel = []; _vel = [];
_unit allowDamage false; //Prevent glitch death when opening chute
_paraPosition1 = [_unit] call FNC_GetPos; _paraPosition1 = [_unit] call FNC_GetPos;
_para = createVehicle ["ParachuteWest", _paraPosition1, [], 0, "CAN_COLLIDE"]; _para = createVehicle ["ParachuteWest", _paraPosition1, [], 0, "CAN_COLLIDE"];
//_para = "BIS_Steerable_Parachute" createVehicle position _unit; //_para = "BIS_Steerable_Parachute" createVehicle position _unit;
@@ -260,7 +260,7 @@ if (typename _this == typename []) then {
_para lock false; _para lock false;
bis_fnc_halo_para_dirAbs = direction _para; bis_fnc_halo_para_dirAbs = direction _para;
player allowDamage true; _unit allowDamage true;
//--- Key controls //--- Key controls
if (_unit == player) then { if (_unit == player) then {