]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/sounds/all.qh
Sound_fixpath: reduce server load
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / sounds / all.qh
index 8225db7368c30f5593c2c1e435897b0123cbb8d5..02098e8755dc805eec8e8a4605544ca5df34b719 100644 (file)
@@ -11,7 +11,7 @@ REGISTER_REGISTRY(Sounds)
     string SND_##name##_get() { return path; } \
     REGISTER(Sounds, SND, name, m_id, NEW(Sound, SND_##name##_get))
 
-// Used in places where a string is required
+/** @deprecated Used in places where a string is required for legacy reasons, prefer using SND_id constants instead */
 #define SND(id) Sound_fixpath(SND_##id)
 
 PRECACHE(Sounds) {