Skip to content

Commit

Permalink
Minor Macro related fixes (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedmen authored and commy2 committed Apr 7, 2019
1 parent ef8a10f commit 5c576d5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion addons/common/fnc_addPlayerAction.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Author:
*/

params ["_actionArray"];
TRACE_1(_this);
TRACE_1("",_this);

private _return = if (isDedicated) then {
WARNING("Function ran on a dedicated server. Function only usable on a client. Action: " + str _actionArray);
Expand Down
2 changes: 1 addition & 1 deletion addons/common/fnc_removePlayerAction.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Author:
*/

params ["_actionIndex"];
TRACE_1(_this);
TRACE_1("",_this);

private _return = if (isDedicated) then {
WARNING("Function ran on a dedicated server. Function only usable on a client. Index was: " + str _actionIndex);
Expand Down
2 changes: 1 addition & 1 deletion addons/events/fnc_registerChatCommand.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (_code isEqualTo {}) exitWith {
_availableFor = toLower _availableFor;

if !(_availableFor in ["all", "admin", "adminlogged"]) exitWith {
WARNING_1("wrong argument %2 for chat command %1.",str _command,str _availableFor);
WARNING_2("wrong argument %2 for chat command %1.",str _command,str _availableFor);
false
};

Expand Down
2 changes: 1 addition & 1 deletion addons/ui/flexiMenu/fnc_remove.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//#define DEBUG_MODE_FULL
//#define DEBUG_MODE_FULL
#include "\x\cba\addons\ui\script_component.hpp"

// _this = ["player", [DIK_LSHIFT], -3, ["mission\weapon_menuDef.sqf", ["main"]]]
Expand Down
2 changes: 1 addition & 1 deletion addons/ui/flexiMenu/fnc_setObjectMenuSource.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "\x\cba\addons\ui\script_component.hpp"
#include "\x\cba\addons\ui\script_component.hpp"

// params: [_object, menuSource]
(_this select 0) setVariable [QGVAR(flexiMenu_source), _this select 1];
2 changes: 1 addition & 1 deletion addons/xeh/fnc_endLoadingScreen.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "script_component.hpp"

private _return = call {
#include "\a3\functions_f\Misc\fn_endLoadingScreen.sqf";
#include "\a3\functions_f\Misc\fn_endLoadingScreen.sqf"
};

isNil {
Expand Down
2 changes: 1 addition & 1 deletion addons/xeh/fnc_initDisplay.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "script_component.hpp"

call {
#include "\a3\functions_f\GUI\fn_initDisplay.sqf";
#include "\a3\functions_f\GUI\fn_initDisplay.sqf"
};

params [["_event", "", [""]], ["_args", []], ["_className", "", [""]]];
Expand Down
2 changes: 1 addition & 1 deletion addons/xeh/fnc_startLoadingScreen.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "script_component.hpp"

private _return = call {
#include "\a3\functions_f\Misc\fn_startLoadingScreen.sqf";
#include "\a3\functions_f\Misc\fn_startLoadingScreen.sqf"
};

isNil {
Expand Down

0 comments on commit 5c576d5

Please sign in to comment.