X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fsounds%2Fall.qh;fp=qcsrc%2Fcommon%2Fsounds%2Fall.qh;h=6d011e21ad0b3f9cb29102fc438fca1e47233b7c;hp=b7b296341b5a02ba5829035e158f13ad673cbefe;hb=ca2b4af3846cb6e38d166006cc3b32c89cf99142;hpb=f53ede36a1898c157e840c96ffac2534ab3c8e31 diff --git a/qcsrc/common/sounds/all.qh b/qcsrc/common/sounds/all.qh index b7b296341..6d011e21a 100644 --- a/qcsrc/common/sounds/all.qh +++ b/qcsrc/common/sounds/all.qh @@ -3,7 +3,6 @@ #include "sound.qh" REGISTRY(Sounds, BITS(9)) -#define Sounds_from(i) _Sounds_from(i, SND_Null) REGISTER_REGISTRY(Sounds) #define SOUND(name, path) \ @@ -18,5 +17,6 @@ PRECACHE(Sounds) { } SOUND(Null, "misc/null"); +REGISTRY_DEFINE_GET(Sounds, SND_Null) #include "all.inc" #include "all.qc"