From: terencehill Date: Tue, 2 Jun 2020 08:31:35 +0000 (+0200) Subject: Make it clear that effectinfo.qc is not compiled without the ENABLE_EFFECTINFO flag X-Git-Tag: xonotic-v0.8.5~964 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=07470c03815a1dd74c09917800ffe05e85c7f3d4;p=xonotic%2Fxonotic-data.pk3dir.git Make it clear that effectinfo.qc is not compiled without the ENABLE_EFFECTINFO flag --- diff --git a/qcsrc/common/effects/effectinfo.qc b/qcsrc/common/effects/effectinfo.qc index 6b97dd91b..2a5bbabb6 100644 --- a/qcsrc/common/effects/effectinfo.qc +++ b/qcsrc/common/effects/effectinfo.qc @@ -1,3 +1,5 @@ +#if ENABLE_EFFECTINFO + #include "effectinfo.qh" #define EFFECTINFO_PARSER(on, MY) \ on(type, MY(type) \ @@ -340,3 +342,5 @@ REGISTRY_DEFINE_GET(EffectInfos, NULL) #undef MY #undef DEF #undef SUB + +#endif