From 228eeab1a822f47baa015d05e31f71b822aff4b3 Mon Sep 17 00:00:00 2001 From: jokoho48 Date: Mon, 31 Aug 2015 00:05:55 +0200 Subject: [PATCH] fix comments --- addons/overpressure/functions/fnc_fireLauncherBackblast.sqf | 1 + addons/overpressure/functions/fnc_fireOverpressureZone.sqf | 2 +- addons/overpressure/functions/fnc_firedEHBB.sqf | 2 +- addons/overpressure/functions/fnc_firedEHOP.sqf | 2 +- addons/overpressure/functions/fnc_overpressureDamage.sqf | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/overpressure/functions/fnc_fireLauncherBackblast.sqf b/addons/overpressure/functions/fnc_fireLauncherBackblast.sqf index 991b84e0d0..14ffdd2db7 100644 --- a/addons/overpressure/functions/fnc_fireLauncherBackblast.sqf +++ b/addons/overpressure/functions/fnc_fireLauncherBackblast.sqf @@ -29,6 +29,7 @@ _position = getPosASL _projectile; _direction = [0, 0, 0] vectorDiff (vectorDir _projectile); private ["_var","_varName","_backblastAngle", "_backblastRange", "_backblastDamage"]; +// Bake variable name and check if the variable exists, call the caching function otherwise _varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine]; _var = if (isNil _varName) then { [_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues); diff --git a/addons/overpressure/functions/fnc_fireOverpressureZone.sqf b/addons/overpressure/functions/fnc_fireOverpressureZone.sqf index 57fea021d0..3068928ba4 100644 --- a/addons/overpressure/functions/fnc_fireOverpressureZone.sqf +++ b/addons/overpressure/functions/fnc_fireOverpressureZone.sqf @@ -29,7 +29,7 @@ _direction = vectorDir _projectile; private ["_var", "_varName", "_dangerZoneAngle", "_dangerZoneRange", "_dangerZoneDamage"]; -// Bake Variablen Name and Check if the Variable Exist else call the Cache Function +// Bake variable name and check if the variable exists, call the caching function otherwise _varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine]; _var = if (isNil _varName) then { [_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues); diff --git a/addons/overpressure/functions/fnc_firedEHBB.sqf b/addons/overpressure/functions/fnc_firedEHBB.sqf index b19de3b3de..cf2ac31561 100644 --- a/addons/overpressure/functions/fnc_firedEHBB.sqf +++ b/addons/overpressure/functions/fnc_firedEHBB.sqf @@ -19,7 +19,7 @@ private ["_damage","_varName"]; params ["", "_weapon", "", "", "_ammo", "_magazine", ""]; -// Bake Variable Name and Check if the Variable Exist else call the Cache Function +// Bake variable name and check if the variable exists, call the caching function otherwise _varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine]; _damage = if (isNil _varName) then { ([_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues)) select 2; diff --git a/addons/overpressure/functions/fnc_firedEHOP.sqf b/addons/overpressure/functions/fnc_firedEHOP.sqf index d6c377c8fb..6cec770deb 100644 --- a/addons/overpressure/functions/fnc_firedEHOP.sqf +++ b/addons/overpressure/functions/fnc_firedEHOP.sqf @@ -19,7 +19,7 @@ private ["_damage","_varName"]; params ["", "_weapon", "", "", "_ammo", "_magazine", ""]; -// Bake Variable Name and Check if the Variable Exist else call the Cache Function +// Bake variable name and check if the variable exists, call the caching function otherwise _varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine]; _damage = if (isNil _varName) then { ([_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues)) select 2; diff --git a/addons/overpressure/functions/fnc_overpressureDamage.sqf b/addons/overpressure/functions/fnc_overpressureDamage.sqf index e39058504e..a24367937b 100644 --- a/addons/overpressure/functions/fnc_overpressureDamage.sqf +++ b/addons/overpressure/functions/fnc_overpressureDamage.sqf @@ -19,7 +19,7 @@ private ["_var","_overpressureAngle", "_overpressureRange", "_overpressureDamage"]; params ["_firer", "_posASL", "_direction", "_weapon", "_magazine", "_ammo"]; -// Bake Variablen Name and Check if the Variable Exist else call the Cache Function +// Bake variable name and check if the variable exists, call the caching function otherwise _varName = format [QGVAR(values%1%2%3), _weapon, _ammo, _magazine]; _var = if (isNil _varName) then { [_weapon, _ammo, _magazine] call FUNC(cacheOverPressureValues);