]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Hopefully fix compilation unit
authorMario <mario@smbclan.net>
Tue, 22 Mar 2016 01:00:03 +0000 (11:00 +1000)
committerMario <mario@smbclan.net>
Tue, 22 Mar 2016 01:00:03 +0000 (11:00 +1000)
qcsrc/common/effects/qc/globalsound.qc
qcsrc/common/effects/qc/globalsound.qh

index 0768a71883a7f60aa1ac89a5e0c2086d15e5794e..b6ce6823dc46243d0bafab7ad394fc906704ae68 100644 (file)
@@ -15,8 +15,6 @@
        string GlobalSound_sample(string pair, float r);
 
        #ifdef SVQC
-               /** Use new sound handling. TODO: use when sounds play correctly on clients */
-               bool autocvar_g_debug_globalsounds = false;
                /**
                 * @param from the source entity, its position is sent
                 * @param gs the global sound def
index 306d71988aba2ce2a051726ba083db952e0a6190..d4ec7f993713ee328f066174da1cc849b86f994d 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef GLOBALSOUND_H
 #define GLOBALSOUND_H
 
+#ifdef SVQC
+       /** Use new sound handling. TODO: use when sounds play correctly on clients */
+       bool autocvar_g_debug_globalsounds = false;
+#endif
+
 // player sounds, voice messages
 
 .string m_playersoundstr;