]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/constants.qh
fix a bunch of compile errors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / constants.qh
index 46de6da20a8d8be11dae29db810d5feb9115da57..c65b9e4226640235afc4587ff59febe166782612 100644 (file)
@@ -457,6 +457,7 @@ float CH_PLAYER = 263;
 float CH_TRIGGER2_SINGLE = 16;
 #endif
 
+#ifdef LEGACY_CHANS
 // this assignment must match menu/xonotic/dialog_settings_misc.c!
 float  CHAN_AUTO                               = 0;
        // on world: announcers, ...                     INFO
@@ -498,6 +499,7 @@ float       CHAN_PLAYER                             = 7; // Player body
        // on players: player sounds                     PLAYER
        // on entities: player sounds                    PLAYER
        // on csqc: UNUSED
+#endif
 
 float  ATTN_NONE                               = 0;
 float  ATTN_MIN                                = 0.015625;