Fixed canPassMagazine header

This commit is contained in:
BaerMitUmlaut 2015-10-06 17:56:32 +02:00
parent d6dcd4112e
commit 090384c014

View File

@ -6,9 +6,9 @@
* 0: Unit that passes the magazine <OBJECT>
* 1: Unit to pass the magazine to <OBJECT>
* 2: Weapon classname <STRING>
*
*
* Return Value:
* None
* Unit can pass magazine <BOOL>
*
* Example:
* [_player, _target, "arifle_MX_F"] call ace_interaction_fnc_canPassMagazine
@ -25,4 +25,4 @@ _compatibleMags = getArray (configfile >> "CfgWeapons" >> _weapon >> "magazines"
_x params ["_className", "", "_loaded"];
if ((_className in _compatibleMags) && {!_loaded} && {_target canAdd _className}) exitWith {true};
false
} foreach (magazinesAmmoFull _player);
} foreach (magazinesAmmoFull _player);