From 127c244e7c4dea69662d89a58fbe33f047908d15 Mon Sep 17 00:00:00 2001 From: TimePath Date: Tue, 17 Nov 2015 19:33:34 +1100 Subject: [PATCH] Globalsounds: remove optional REGISTRY_SORT parameter --- qcsrc/common/effects/qc/globalsound.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/effects/qc/globalsound.qh b/qcsrc/common/effects/qc/globalsound.qh index e8baf1bc3..4b86da5c8 100644 --- a/qcsrc/common/effects/qc/globalsound.qh +++ b/qcsrc/common/effects/qc/globalsound.qh @@ -17,7 +17,7 @@ REGISTRY(PlayerSounds, BITS(8) - 1) this.m_playersoundfld = _playersound_##id; \ } REGISTER_REGISTRY(PlayerSounds) -REGISTRY_SORT(PlayerSounds, 0) +REGISTRY_SORT(PlayerSounds) STATIC_INIT(PlayerSounds_renumber) { FOREACH(PlayerSounds, true, LAMBDA(it.m_id = i)); @@ -92,7 +92,7 @@ REGISTRY(GlobalSounds, BITS(8) - 1) this.m_globalsoundstr = str; \ } REGISTER_REGISTRY(GlobalSounds) -REGISTRY_SORT(GlobalSounds, 0) +REGISTRY_SORT(GlobalSounds) STATIC_INIT(GlobalSounds_renumber) { FOREACH(GlobalSounds, true, LAMBDA(it.m_id = i)); -- 2.39.2