Fix tool loss due to duplicate matchbox and knife issue #1849

This commit is contained in:
ebaydayz
2017-01-03 15:30:50 -05:00
parent d124a5d2f7
commit 0c15002109
20 changed files with 110 additions and 283 deletions

View File

@@ -44,8 +44,8 @@ Return value indicates whether the item was actually removed. */
/* Adds the specifed item on the ground at the player's feet.
The weaponholder containing the item is returned. Returns null if the function fails.*/
#define Player_DropWeapon(class) ([0, class] call dz_fn_player_dropItem)
#define Player_DropMagazine(class) ([1, class] call dz_fn_player_dropItem)
#define Player_DropWeapon(class) ([class,2,1] call fn_dropItem)
#define Player_DropMagazine(class) ([class,1,1] call fn_dropItem)
#define Player_GetStance_STAND 1
#define Player_GetStance_KNEEL 2