Skip to content

Commit cd410b8

Browse files
Apply suggestions from code review
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
1 parent 1bf1c7b commit cd410b8

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

addons/bitwise/fnc_toBitMask.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description:
66
Takes Input <ARRAY of BOOLs> (limited to float precision)
77
88
Parameters:
9-
_input - Boolean (least significant bit) <BOOL>
9+
_input - Array of bools (0 index is least significant bit) <ARRAY>
1010
1111
Returns:
1212
Bitmask <NUMBER>

addons/common/fnc_binarizeNumber.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ params [
2525
["_minLength", 8, [0]]
2626
];
2727

28-
if (isNil "_number") exitWith {};
28+
if (isNil "_number") exitWith { [] };
2929

3030
_number = round _number;
3131

addons/statuseffects/CfgEventHandlers.hpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,18 @@ class Extended_Engine_EventHandlers {
1515
ADDON = QUOTE(call FUNC(handleEngine));
1616
};
1717
};
18+
class Extended_Respawn_EventHandlers {
19+
class All {
20+
class GVAR(statusEffect) {
21+
respawn = QUOTE(call FUNC(respawnEH));
22+
};
23+
};
24+
};
25+
26+
class Extended_Local_EventHandlers {
27+
class All {
28+
class GVAR(statusEffect) {
29+
local = QUOTE(call FUNC(localEH));
30+
};
31+
};
32+
};

0 commit comments

Comments
 (0)