Skip to content

Commit

Permalink
Remove debugging after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diwako committed Jul 22, 2018
1 parent c4f92a4 commit 1c59cea
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
Binary file modified ace_ragdoll_unconscious.VR/mission.sqm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ if(!(alive _unit) && // do not run if unit is dead

_anim = toLower(_anim);

if(isPlayer _unit) then {
diw_last = _anim;
diw_debug pushBackUnique _anim;
};

if((_anim find "unconsciousrevive") != -1 || // catch ragdoll recovery animations
{_anim == "unconsciousoutprone" || // catch another ragdoll recovery animation
{(_anim find "amov") == 0 }} ) then { // catch any movement or stance type of animation (player specific clause)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ diwako_ragdoll_ragdollRunning = true;
};
}] call CBA_fnc_addEventHandler;

diw_debug = [];
["CAManBase", "AnimChanged", {
_this call diwako_ragdoll_fnc_animChangedEH;
}] call CBA_fnc_addClassEventHandler;
Expand Down
5 changes: 0 additions & 5 deletions mod/functions/diwako/ragdoll/fn_animChangedEH.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ if(!(alive _unit) && // do not run if unit is dead

_anim = toLower(_anim);

if(isPlayer _unit) then {
diw_last = _anim;
diw_debug pushBackUnique _anim;
};

if((_anim find "unconsciousrevive") != -1 || // catch ragdoll recovery animations
{_anim == "unconsciousoutprone" || // catch another ragdoll recovery animation
{(_anim find "amov") == 0 }} ) then { // catch any movement or stance type of animation (player specific clause)
Expand Down
1 change: 0 additions & 1 deletion mod/functions/diwako/ragdoll/fn_initRagdoll.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ diwako_ragdoll_ragdollRunning = true;
};
}] call CBA_fnc_addEventHandler;

diw_debug = [];
["CAManBase", "AnimChanged", {
_this call diwako_ragdoll_fnc_animChangedEH;
}] call CBA_fnc_addClassEventHandler;
Expand Down

0 comments on commit 1c59cea

Please sign in to comment.