Remove missileGuidance setting (#5778)

This commit is contained in:
PabstMirror 2017-11-15 15:19:07 -06:00 committed by GitHub
parent 66069519fc
commit 9c7511df0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 10 deletions

View File

@ -1,9 +0,0 @@
class ACE_Settings {
class GVAR(enabled) {
value = 2;
typeName = "SCALAR";
displayName = CSTRING(Title);
description = CSTRING(Desc);
values[] = {CSTRING(Off), CSTRING(PlayerOnly), CSTRING(PlayerAndAi)};
};
};

View File

@ -6,4 +6,9 @@ PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// Formally a ace_setting, users can still disable by `setting ace_missileguidance_enabled = x;`
// [0 - Off , 1 - PlayerOnly, 2 - PlayerAndAi]
// As weapons take config changes, there is little point in being able to disable guidance
if (isNil QGVAR(enabled)) then { GVAR(enabled) = 2; };
ADDON = true;

View File

@ -14,7 +14,6 @@ class CfgPatches {
};
#include "ACE_GuidanceConfig.hpp"
#include "ACE_Settings.hpp"
#include "CfgEventhandlers.hpp"
#include "CfgAmmo.hpp"