From: TimePath Date: Tue, 17 Nov 2015 08:33:34 +0000 (+1100) Subject: Globalsounds: remove optional REGISTRY_SORT parameter X-Git-Tag: xonotic-v0.8.2~1653^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=127c244e7c4dea69662d89a58fbe33f047908d15;p=xonotic%2Fxonotic-data.pk3dir.git Globalsounds: remove optional REGISTRY_SORT parameter --- 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));