From 3cea9e727db39d04b4a107e8a009306d9658d525 Mon Sep 17 00:00:00 2001 From: commy2 Date: Fri, 16 Sep 2016 14:00:43 +0200 Subject: [PATCH] fix a comment --- addons/grenades/functions/fnc_incendiary.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/grenades/functions/fnc_incendiary.sqf b/addons/grenades/functions/fnc_incendiary.sqf index 92e2e587da..b12d4169bb 100644 --- a/addons/grenades/functions/fnc_incendiary.sqf +++ b/addons/grenades/functions/fnc_incendiary.sqf @@ -169,6 +169,7 @@ private _config = _vehicle call CBA_fnc_getObjectConfig; private _fnc_isWheelHitPoint = { params ["_selectionName"]; + // wheels must use a selection named "wheel_X_Y_steering" for PhysX to work _selectionName select [0, 6] == "wheel_" && { _selectionName select [count _selectionName - 9] == "_steering" } // return @@ -177,7 +178,6 @@ private _fnc_isWheelHitPoint = { { private _wheelSelection = getText (_config >> "HitPoints" >> _x >> "name"); - // wheels must use a selection named "wheel_X_Y_steering" if (_wheelSelection call _fnc_isWheelHitPoint) then { private _wheelPosition = _vehicle modelToWorld (_vehicle selectionPosition _wheelSelection);