Skip to content

Commit

Permalink
All - Fix command casing (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF authored Sep 22, 2024
1 parent b2c5abc commit 7846617
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion addons/apollo/functions/fnc_getPlayerInfo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if !(_type in ["getTrainingIdentifiers", "getAccessibleItemClasses"]) exitWith {

private _playerUID = getPlayerUID _player;

if (_playerUID isEqualTo "_SP_PLAYER_" || {_playerUID isEqualto "_SP_AI_"}) exitWith {
if (_playerUID isEqualTo "_SP_PLAYER_" || {_playerUID isEqualTo "_SP_AI_"}) exitWith {
ERROR("getPlayerInfo only works in (locally hosted) MP");
[]
};
Expand Down
4 changes: 2 additions & 2 deletions addons/breaching/functions/fnc_breach.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (_obstacle isKindOf "House") exitWith {
private _position0 = (getPosASL _wire) vectorAdd [0, 0, 0];
private _position1 = _position0 vectorAdd (vectorUp _wire);

private _intersections = [_obstacle, "GEOM"] intersect [ASLtoAGL _position0, ASLtoAGL _position1];
private _intersections = [_obstacle, "GEOM"] intersect [ASLToAGL _position0, ASLToAGL _position1];
if (_intersections isEqualTo []) exitWith {};

private _door = toLower ((_intersections select 0) select 0);
Expand Down Expand Up @@ -85,7 +85,7 @@ if (_obstacle isKindOf "House") exitWith {
} forEach _animations;
};

private _obstaclePosWorld = ASLtoAGL getPosWorld _obstacle;
private _obstaclePosWorld = ASLToAGL getPosWorld _obstacle;

// Terrain wall (won't get destroyed, hide it instead)
if (_obstacle in (nearestTerrainObjects [_obstaclePosWorld, ["WALL", "FENCE"], 1])) exitWith {
Expand Down
2 changes: 1 addition & 1 deletion addons/mission/functions/fnc_monitorUnits.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ switch (_type) do {
private _west = (west countSide allUnits) - (west countSide playableUnits);
private _east = (east countSide allUnits) - (east countSide playableUnits);
private _resistance = (resistance countSide allUnits) - (resistance countSide playableUnits);
private _civilian = (civilian countside allUnits) - (civilian countSide playableUnits);
private _civilian = (civilian countSide allUnits) - (civilian countSide playableUnits);
format ["West: %1|East: %2|Indep: %3|Civ: %4|Player: %5|FPS: %6", _west, _east, _resistance , _civilian, count playableUnits, diag_fps]
};
case 1: {
Expand Down
2 changes: 1 addition & 1 deletion addons/mission/functions/fnc_reinforcements.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (_groups isEqualType grpNull) then {
};
} forEach (units _x);
} else {
private _groupName = groupID _x;
private _groupName = groupId _x;
private _groupSide = side _x;
WARNING_2("Too close to group: %1, on: %2",_groupName,_groupSide);
};
Expand Down
2 changes: 1 addition & 1 deletion addons/mission/functions/fnc_surrender.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ _group setVariable [QGVAR(surrenderParams), [_surrenderChance, _minimumDistance,
(group _unit getVariable [QGVAR(surrenderParams), 0]) params ["_surrenderChance", "_minimumDistance", "_rallyChance"];

// Distance Check, no point continuing if distance has failed.
private _distanceCheck = (_unit distance2d _shooter) > _minimumDistance;
private _distanceCheck = (_unit distance2D _shooter) > _minimumDistance;
if (!_distanceCheck) exitWith {};

// % chance of surrendering and rallying.
Expand Down
2 changes: 1 addition & 1 deletion addons/ratelmarker/functions/fnc_createQRM.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
params ["_markerPos"];

[
format ["QRM [%1] (%2)", mapGridPosition _markerPos, [daytime, "HH:MM"] call BIS_fnc_timeToString],
format ["QRM [%1] (%2)", mapGridPosition _markerPos, [dayTime, "HH:MM"] call BIS_fnc_timeToString],
_markerPos
] call ACEFUNC(microdagr,deviceAddWaypoint);
2 changes: 1 addition & 1 deletion addons/ratelmarker/functions/fnc_prepareQRM.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Public: No
*/

if (GVAR(QuickReferenceMarkerMode) == 0) exitwith {};
if (GVAR(QuickReferenceMarkerMode) == 0) exitWith {};

private _playerVehicle = vehicle ace_player;

Expand Down

0 comments on commit 7846617

Please sign in to comment.