Fix running corpses

This commit is contained in:
icomrade
2017-01-07 11:39:18 -05:00
parent 70948ad0a2
commit 0c4d77d2aa
2 changed files with 8 additions and 0 deletions

View File

@@ -51,6 +51,8 @@
[FIXED] Rapid starvation or dehydration when using chainsaw, chopping wood or pushing plane. Also lowered or removed nutrition hit for several actions. #1857 @TheZog
[FIXED] Unable to repair or salvage vehicle parts not listed in the RepairParts config, like Merlin glass and tank tracks. #1828 #1856 @ndavalos @schwanzkopfhegel @oiad
[FIXED] Unable to remove LightPole_DZ, DeerStand_DZ, MetalGate_DZ and StickFence_DZ. #1859 @TheZog
[FIXED] Unconscious locked input when running #1860 @icomrade @DeVloek
[FIXED] Running corpses when the dead player has no primary weapon @icomrade
[NOTE] The fixes below are included in the 1.0.6 Build C server package released December 29th, 2016 (http://dayzepoch.com/a2dayzepoch.php)
[FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade

View File

@@ -103,6 +103,12 @@ if (!local _source && isPlayer _source) then {
r_player_unconscious = false;
r_player_cardiac = false;
dayz_autoRun = false;
if (player == vehicle player) then { //fix running corpses
[nil, player, rSWITCHMOVE, ""] call RE;
player SWITCHMOVE "";
PVDZ_plr_SwitchMove = [player,""];
publicVariableServer "PVDZ_plr_SwitchMove";
};
terminate dayz_musicH;
terminate dayz_slowCheck;