From 35cba7d82cfc81d6e8b485c659dbbb62e819c6f8 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Thu, 23 Jan 2020 09:00:26 -0600 Subject: [PATCH] Update player.sqf --- SQF/dayz_code/util/player.sqf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SQF/dayz_code/util/player.sqf b/SQF/dayz_code/util/player.sqf index 83e80fc83..74ea6104d 100644 --- a/SQF/dayz_code/util/player.sqf +++ b/SQF/dayz_code/util/player.sqf @@ -17,8 +17,6 @@ dz_fn_player_numItems = { if (_this == 0) exitWith { 0 }; - Debug_Assert(_this in dz_player_invTypes); - if (IS_MAGAZINE(_this)) then { { _this == getNumber (configFile >> "CfgMagazines" >> _x >> "type") } count magazines player; } else @@ -28,13 +26,11 @@ dz_fn_player_numItems = dz_fn_player_numEmptySlots = { if (_this == 0) exitWith { 1000000 }; - Debug_Assert(_this in dz_player_invTypes); Player_NumSlots(_this) - Player_NumItems(_this); }; dz_fn_player_addItem = { - Debug_CheckParams2("SCALAR","STRING"); private ["_type", "_veh", "_num"];