Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Macro related fixes #1110

Merged
merged 1 commit into from
Apr 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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