From: Mario Date: Tue, 22 Mar 2016 01:00:03 +0000 (+1000) Subject: Hopefully fix compilation unit X-Git-Tag: xonotic-v0.8.2~1062 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ee5a6c406bd76687a3abceea75e2885ae3bc21e2;p=xonotic%2Fxonotic-data.pk3dir.git Hopefully fix compilation unit --- diff --git a/qcsrc/common/effects/qc/globalsound.qc b/qcsrc/common/effects/qc/globalsound.qc index 0768a7188..b6ce6823d 100644 --- a/qcsrc/common/effects/qc/globalsound.qc +++ b/qcsrc/common/effects/qc/globalsound.qc @@ -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 diff --git a/qcsrc/common/effects/qc/globalsound.qh b/qcsrc/common/effects/qc/globalsound.qh index 306d71988..d4ec7f993 100644 --- a/qcsrc/common/effects/qc/globalsound.qh +++ b/qcsrc/common/effects/qc/globalsound.qh @@ -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;