// Used in places where a string is required
#define SND(id) (SND_##id.sound_str())
-REGISTRY(Sounds, 128)
+REGISTRY(Sounds, BIT(8))
REGISTER_REGISTRY(RegisterSounds)
CLASS(Sound, Object)
#define SOUND(name, path) \
string SND_##name##_get() { return path; } \
- REGISTER(RegisterSounds, SND, Sounds, Sounds_COUNT, name, m_id, NEW(Sound, SND_##name##_get))
+ REGISTER(RegisterSounds, SND, Sounds, name, m_id, NEW(Sound, SND_##name##_get))
STATIC_INIT(RegisterSounds_precache) {
FOREACH(Sounds, true, LAMBDA({