mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
typos from last commit
This commit is contained in:
parent
a828ff9c98
commit
0f82f59955
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
_y params ["_posArray", "_color"]
|
_y params ["_posArray", "_color"];
|
||||||
if (count (_posArray) > 1) then {
|
if (count (_posArray) > 1) then {
|
||||||
for "_j" from 1 to count _posArray - 1 do {
|
for "_j" from 1 to count _posArray - 1 do {
|
||||||
drawLine3D [_posArray#(_j-1), _posArray#_j, _color];
|
drawLine3D [_posArray#(_j-1), _posArray#_j, _color];
|
||||||
|
@ -38,7 +38,7 @@ diag_log text "//****************** fragCalcDump Beg ******************//";
|
|||||||
private _shouldFrag = [_ammo] call FUNC(shouldFrag);
|
private _shouldFrag = [_ammo] call FUNC(shouldFrag);
|
||||||
if (_nSkip || _logAll) then {
|
if (_nSkip || _logAll) then {
|
||||||
private _fragInfo = [_ammo] call FUNC(getFragInfo);
|
private _fragInfo = [_ammo] call FUNC(getFragInfo);
|
||||||
_fragInfo params ["_fragRange", "_fragMaxVelocity", "", "_modifiedFragCount"]
|
_fragInfo params ["_fragRange", "_fragMaxVelocity", "", "_modifiedFragCount"];
|
||||||
private _fragCount = 4 * pi* _modifiedFragCount;
|
private _fragCount = 4 * pi* _modifiedFragCount;
|
||||||
private _indirectHitRange = getNumber (configFile >> "cfgAmmo" >> _ammo >> "indirectHitRange");
|
private _indirectHitRange = getNumber (configFile >> "cfgAmmo" >> _ammo >> "indirectHitRange");
|
||||||
private _indirectHit = getNumber (configFile >> "cfgAmmo" >> _ammo >> "indirectHit");
|
private _indirectHit = getNumber (configFile >> "cfgAmmo" >> _ammo >> "indirectHit");
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
params [
|
params [
|
||||||
["_object", objNull, [objNull]],
|
["_object", objNull, [objNull]],
|
||||||
["_addSphere", true, [turretLocal]]
|
["_addSphere", true, [true]]
|
||||||
];
|
];
|
||||||
|
|
||||||
if (isNull _object) exitWith {};
|
if (isNull _object) exitWith {};
|
||||||
@ -44,7 +44,7 @@ switch (true) do {
|
|||||||
};
|
};
|
||||||
private _centerPoint = ASLToAGL getPosASL _object;
|
private _centerPoint = ASLToAGL getPosASL _object;
|
||||||
|
|
||||||
if (GVAR(dbgSphere) && {_addSphere && {isNull objectParent _object}}) then {
|
if (GVAR(dbgSphere) && {_addSphere && {isNull objectParent _object}}) then {
|
||||||
private _centerSphere = [getPosASL _object, "yellow"] call FUNC(dev_sphereDraw);
|
private _centerSphere = [getPosASL _object, "yellow"] call FUNC(dev_sphereDraw);
|
||||||
_centerSphere disableCollisionWith vehicle _object;
|
_centerSphere disableCollisionWith vehicle _object;
|
||||||
_centerSphere attachTo [_object, _object worldToModel _centerPoint];
|
_centerSphere attachTo [_object, _object worldToModel _centerPoint];
|
||||||
|
Loading…
Reference in New Issue
Block a user