Remove sound playing slots, as they do not work
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user