]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/util.qh
fix compile
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / util.qh
index 5a5792cb73e054e8ef54a60f9ef4bdab9725a775..9071c1c7cc1ae5aa4ab29d592e713e6621195be2 100644 (file)
@@ -265,3 +265,7 @@ const float XENCODE_MAX = 21295; // 2*22*22*22-1
 const float XENCODE_LEN = 5;
 string xencode(float f);
 float xdecode(string s);
+
+#ifndef COMPAT_XON010_CHANNELS
+#define sound(e,c,s,v,a) sound7(e,c,s,v,a,0,0)
+#endif