mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 10:05:44 -04:00
Show an error message in chat when trying to enable sounds/music in web client.
This makes it absolutely clear that sound/music isn't broken, it's intentionally not supported currently.
This commit is contained in:
parent
1432923240
commit
4c9b7d668a
@ -21,8 +21,13 @@ int Audio_SoundsVolume, Audio_MusicVolume;
|
||||
static void Audio_Init(void) { }
|
||||
static void Audio_Free(void) { }
|
||||
|
||||
void Audio_SetMusic(int volume) { }
|
||||
void Audio_SetSounds(int volume) { }
|
||||
void Audio_SetMusic(int volume) {
|
||||
if (volume) Chat_AddRaw("&cMusic is not supported currently");
|
||||
}
|
||||
void Audio_SetSounds(int volume) {
|
||||
if (volume) Chat_AddRaw("&cSounds are not supported currently");
|
||||
}
|
||||
|
||||
void Audio_PlayDigSound(cc_uint8 type) { }
|
||||
void Audio_PlayStepSound(cc_uint8 type) { }
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user