Update some WeaponHolder to WeaponHolderBase

This commit is contained in:
ebaydayz
2016-03-31 11:35:33 -04:00
parent c54a52a103
commit 6de88c7b07
47 changed files with 621 additions and 876 deletions

View File

@@ -16,6 +16,9 @@ Author: Foxy
#define Array_GetSet(array, index, value) ([array, index, value] call dz_fn_array_getSet)
#define Array_GetSet_Fast(array, index, value) ([(array) select (index), (array) set [index, value]] select 0)
#define Array_PushBack(array, element) ([array, element] call dz_fn_array_pushBack)
#define Array_PushBack_Fast(array, element) Array_Set(array, count (array), element)
//Returns true if any of the array elements matches the specified predicate
#define Array_Any(arr, predicate) ([arr, predicate] call dz_fn_array_any)