]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make it clear that effectinfo.qc is not compiled without the ENABLE_EFFECTINFO flag
authorterencehill <piuntn@gmail.com>
Tue, 2 Jun 2020 08:31:35 +0000 (10:31 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 2 Jun 2020 08:31:35 +0000 (10:31 +0200)
qcsrc/common/effects/effectinfo.qc

index 6b97dd91b55fa94abeb488e48fd5a6cdc45eb9f2..2a5bbabb6f1ef874f40b14c5450e083264038cc8 100644 (file)
@@ -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