Skip to content

Commit

Permalink
General - Small cleanups (#565)
Browse files Browse the repository at this point in the history
* General - Small cleanups

* Update .hemtt/project.toml
  • Loading branch information
PabstMirror authored Oct 15, 2024
1 parent 7517f27 commit 6a3cba8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion addons/assignGear/functions/fnc_addSupplyBoxActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ private _action = [
] call ACEFUNC(interact_menu,createAction);
[_theBox, 0, ["ACE_MainActions"], _action] call ACEFUNC(interact_menu,addActionToObject);

//IGNORE_PRIVATE_WARNING ["_player", "_target"];
_action = [
"markBoxSmoke",
"Smoke",
Expand Down
1 change: 0 additions & 1 deletion addons/markers/vehicleTags/init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ GVAR(tags) = [

private _fnc_statement = {};
private _fnc_condition = {
//IGNORE_PRIVATE_WARNING ["_player", "_target"];
(missionNamespace getVariable [QEGVAR(safeStart,startTime_PV), -1] != -1) // safe start active
&& {(rankId _player) >= 1}
&& {
Expand Down
2 changes: 1 addition & 1 deletion addons/missionTesting/functions/fnc_updateNotesFlag.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private _idc = ctrlIDC _control;
private _str = str _idc;
private _array = _str splitString "";
private _subsection = parseNumber (_array select 3);
TRACE_1("_subSectionArray Before",_subSectionArray);
TRACE_2("_subSectionArray Before",_array,_subsection);
private _masterChecklist = nil;
private _text = ctrlText _control;
private _missionMaker = getMissionConfigValue ["author","????"];
Expand Down
5 changes: 1 addition & 4 deletions addons/radios/functions/fnc_acreSideControlSideChange.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ private _ctrlChannels = _ctrlGroup controlsGroupCtrl RADIO_CHANNEL_IDC;
private _ctrlSharedMR = _ctrlGroup controlsGroupCtrl CFG_S_SHARED_MR;
private _ctrlSharedLR = _ctrlGroup controlsGroupCtrl CFG_S_SHARED_LR;

TRACE_8("Shared settings",GVAR(addCommonChannelWestMR),GVAR(addCommonChannelWestLR),\
GVAR(addCommonChannelEastMR),GVAR(addCommonChannelEastLR),\
GVAR(addCommonChannelIndyMR),GVAR(addCommonChannelIndyLR),\
GVAR(addCommonChannelCivMR),GVAR(addCommonChannelCivLR));
TRACE_8("Shared settings",GVAR(addCommonChannelWestMR),GVAR(addCommonChannelWestLR),GVAR(addCommonChannelEastMR),GVAR(addCommonChannelEastLR),GVAR(addCommonChannelIndyMR),GVAR(addCommonChannelIndyLR),GVAR(addCommonChannelCivMR),GVAR(addCommonChannelCivLR));

private _side = switch (_index) do {
case (0): {
Expand Down
2 changes: 1 addition & 1 deletion addons/setVehicleAmmo/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (isServer) then {
if ((!alive _vehicle) || {!local _vehicle}) exitWith {};
private _customization = GVAR(vehicleCustomization) getOrDefault [typeOf _vehicle, []];
private _ret = [_vehicle, _customization select 0, _customization select 1] call bis_fnc_initVehicle;
TRACE_3("applied",_x,_ret,_customization);
TRACE_3("applied",typeOf _vehicle,_ret,_customization);
}, false, nil, true] call CBA_fnc_addClassEventHandler; // no inheritance, apply retro
} forEach GVAR(vehicleCustomization);
}, [], 5] call CBA_fnc_waitAndExecute;
Expand Down
2 changes: 0 additions & 2 deletions addons/spectate/functions/fnc_ui_handleDraw3D.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ if !(GVAR(mapOpen) || GVAR(fullMapOpen)) then {
TRACE_1("grenade",_x);
_x params ["_projectile", "_icon", "_color"];
if !(isNull _projectile) then {
private _grenadeVelocityMagnitude = vectorMagnitude velocity _projectile;

// Draw grenade
drawIcon3D [_icon, _color, (getPosVisual _projectile) vectorAdd [0,0,0.25], 0.4, 0.4, 0, "", 0, 0.05, "TahomaB"];

Expand Down

0 comments on commit 6a3cba8

Please sign in to comment.