From ee5a6c406bd76687a3abceea75e2885ae3bc21e2 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 22 Mar 2016 11:00:03 +1000 Subject: [PATCH] Hopefully fix compilation unit --- qcsrc/common/effects/qc/globalsound.qc | 2 -- qcsrc/common/effects/qc/globalsound.qh | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) 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; -- 2.39.2