Remove unused PVEH

I'm guessing the 1 in place of I in the PV names was intentional to work
around some BE filter. If not, it should be changed in vanilla.
This commit is contained in:
ebaydayz
2016-03-24 19:56:17 -04:00
parent ee13f4caf7
commit 8c7a7429af
9 changed files with 34 additions and 76 deletions

View File

@@ -16,8 +16,8 @@ if (_damage > 0) then {
_total = (damage _obj) + _damage;
if (!isServer) then {
PVDZ_obj_Save = [_obj,"objWallDamage",_total];
publicVariableServer "PVDZ_obj_Save";
PVDZ_veh_Save = [_obj,"objWallDamage",_total];
publicVariableServer "PVDZ_veh_Save";
} else {
[_obj,"objWallDamage",_total] call server_updateObject;
};

View File

@@ -37,8 +37,8 @@ if (local _unit) then {
_unit setHit [_selection, _total];
if (!isServer) then {
PVDZ_obj_Save = [_unit,"damage"];
publicVariableServer "PVDZ_obj_Save";
PVDZ_veh_Save = [_unit,"damage"];
publicVariableServer "PVDZ_veh_Save";
} else {
[_unit, "damage"] call server_updateObject;
};

View File

@@ -14,11 +14,11 @@ if (isServer) then {
[_unit, "killed"] call server_updateObject;
} else {
if (DZE_Debug_Damage && ((!isPlayer _unit) || ((isPlayer _unit) && (vehicle _unit != _unit) && (_unit != _killer)))) then {
PVDZ_obj_Save = [_unit, "killed",_killer];
PVDZ_veh_Save = [_unit, "killed",_killer];
} else {
PVDZ_obj_Save = [_unit, "killed"];
PVDZ_veh_Save = [_unit, "killed"];
};
publicVariableServer "PVDZ_obj_Save";
publicVariableServer "PVDZ_veh_Save";
};
// everyone removes their EH for this vehicle