From e235ebcc15ee5f92150e4f9ccce14718637090e1 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 18 Jun 2015 21:48:23 -0500 Subject: [PATCH] Fix frag always killing thrower --- addons/frag/functions/fnc_pfhRound.sqf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/frag/functions/fnc_pfhRound.sqf b/addons/frag/functions/fnc_pfhRound.sqf index 816969f9a1..cda1a9b681 100644 --- a/addons/frag/functions/fnc_pfhRound.sqf +++ b/addons/frag/functions/fnc_pfhRound.sqf @@ -38,8 +38,9 @@ if (!alive _round) exitWith { false }; -_params set[1, (getPosASL _round)]; -_params set[2, (velocity _round)]; +_this set[1, (getPosASL _round)]; +_this set[2, (velocity _round)]; + if(_doSpall) then { private["_scale"]; _scale = ( (count GVAR(objects)) / GVAR(MaxTrackPerFrame) ) max 0.1;