Zeus module on dedicated server

This commit is contained in:
PabstMirror 2015-06-18 22:43:49 -05:00
parent 375c81d9b0
commit 6c7ba7b5ae
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,9 @@
//#define DEBUG_MODE_FULL
#include "script_component.hpp"
private ["_enabled","_doFragTrack", "_doSpall", "_spallTrack", "_spallTrackID"];
private ["_enabled", "_doSpall", "_spallTrack", "_spallTrackID"];
PARAMS_3(_gun,_type,_round);
DEFAULT_PARAM(3,_doFragTrack,false);
if (!GVAR(enabled)) exitWith {};
@ -16,7 +17,6 @@ if(_round in GVAR(blackList)) exitWith {
// Exit on max track
if( (count GVAR(objects)) > GVAR(MaxTrack)) exitWith { };
_doFragTrack = false;
if(_gun == ACE_player) then {
_doFragTrack = true;
} else {

View File

@ -129,7 +129,7 @@ if (_activated) then {
// Added by ace_zeus for ace_frag compatibility
if (!isnil QEFUNC(frag,addPfhRound)) then {
[ACE_player, _ammo, _projectile] call EFUNC(frag,addPfhRound);
[objNull, _ammo, _projectile, true] call EFUNC(frag,addPfhRound);
};
//--- Play sound