Skip to content

Commit

Permalink
Coonfig fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Salbei committed Apr 21, 2018
1 parent 3f28073 commit fd75366
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions addons/functions/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ class CfgVehicles {
// icon = "z\ace\addons\trenches\UI\w_entrchtool_ca.paa";
exceptions[] = {"notOnMap", "isNotInside", "isNotSitting"};

class grad_trenches_digEnvelopeShort: ace_trenches_digEnvelopeBig {
displayName = CSTRING(DigEnvelopeShort);
statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'GRAD_envelope_short')])] call CBA_fnc_execNextFrame);
condition = QUOTE(GVAR(allowDigging) && ([ARR_2(_target,_player)] call ace_trenches_fnc_canContinueDiggingTrench) && GVAR(allowShortEnvelope));
};
class ace_trenches_digEnvelopeSmall {
displayName = "$STR_ace_trenches_DigEnvelopeSmall";
exceptions[] = {};
Expand All @@ -65,6 +60,11 @@ class CfgVehicles {
statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'ACE_envelope_big')])] call CBA_fnc_execNextFrame);
condition = QUOTE(GVAR(allowDigging) && ([ARR_2(_target,_player)] call ace_trenches_fnc_canContinueDiggingTrench) && GVAR(allowBigEnvelope));
};
class grad_trenches_digEnvelopeShort: ace_trenches_digEnvelopeBig {
displayName = CSTRING(DigEnvelopeShort);
statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'GRAD_envelope_short')])] call CBA_fnc_execNextFrame);
condition = QUOTE(GVAR(allowDigging) && ([ARR_2(_target,_player)] call ace_trenches_fnc_canContinueDiggingTrench) && GVAR(allowShortEnvelope));
};
class grad_trenches_digEnvelopeGigant: ace_trenches_digEnvelopeBig {
displayName = CSTRING(DigEnvelopeGigant);
statement = QUOTE([ARR_2({_this call FUNC(placeTrench)},[ARR_2(_this select 0,'GRAD_envelope_gigant')])] call CBA_fnc_execNextFrame);
Expand Down

0 comments on commit fd75366

Please sign in to comment.