Remove some unused setVariables

This commit is contained in:
ebaydayz
2017-01-29 16:09:50 -05:00
parent cfd0f74870
commit 3224a21363
3 changed files with 4 additions and 9 deletions

View File

@@ -44,8 +44,8 @@ sched_corpses = {
_deathTime = _x getVariable ["sched_co_deathTime", -1];
if (_x getVariable["bodyName",""] != "") then {
if (_deathTime == -1) then {
_deathPos = _x getVariable ["deathPos",respawn_west_original];
/*_cpos = getPosATL _x;
/*_deathPos = _x getVariable ["deathPos",respawn_west_original];
_cpos = getPosATL _x;
// forbid a move further than 50 meters, or burried body (antihack)
if (_deathPos distance _cpos > 50 or _deathPos select 2 < -0.2) then {
diag_log [ __FILE__, "Corpse should have been moved! CID#",(_x getVariable["characterID", "?"]),"from:", _cpos, "to:", _deathPos ];