Remove sound playing slots, as they do not work

This commit is contained in:
2024-02-10 16:26:48 +01:00
parent 1b28a93d91
commit c738ce5c14
2 changed files with 5 additions and 20 deletions

View File

@@ -32,12 +32,9 @@ static SoundType getRandomSoundType(SoundType min, SoundType max) {
return GetRandomValue(min, max);
}
#define SOUND_MAX_PLAYING 16
typedef struct SoundState {
Rectangle cameraBounds;
Sound sounds[SOUND_COUNT];
Sound playing[SOUND_MAX_PLAYING];
// How long it needs to wait,
// before playing the same sound
f32 soundLastPlayed[SOUND_COUNT];