s_doppler should default to 0.

The doppler effect is a game play change. And it's rather badly
implemented. Discussed in yquake2/xatrix#51.

Closes yquake2/xatrix#51.
This commit is contained in:
Yamagi 2020-04-21 13:58:58 +02:00
parent 00e6eb6303
commit 5455ffa96f
2 changed files with 3 additions and 3 deletions

View file

@ -130,8 +130,8 @@ it's `+set busywait 0` (setting the `busywait` cvar) and `-portable`
0. Setting this cvar to `1` disables this behavior, the music keeps 0. Setting this cvar to `1` disables this behavior, the music keeps
playing. playing.
* **s_doppler**: If set to `1` (the default) doppler effects are * **s_doppler**: If set to `1` doppler effects are enabled. This is only
enabled. This is only supported by the OpenAL sound backend. supported by the OpenAL sound backend.
* **s_openal**: Use OpenAL for sound playback. This is enabled by * **s_openal**: Use OpenAL for sound playback. This is enabled by
default. OpenAL gives a huge quality boost over the classic sound default. OpenAL gives a huge quality boost over the classic sound

View file

@ -1053,7 +1053,7 @@ S_Init(void)
s_ambient = Cvar_Get("s_ambient", "1", 0); s_ambient = Cvar_Get("s_ambient", "1", 0);
s_underwater = Cvar_Get("s_underwater", "1", CVAR_ARCHIVE); s_underwater = Cvar_Get("s_underwater", "1", CVAR_ARCHIVE);
s_underwater_gain_hf = Cvar_Get("s_underwater_gain_hf", "0.25", CVAR_ARCHIVE); s_underwater_gain_hf = Cvar_Get("s_underwater_gain_hf", "0.25", CVAR_ARCHIVE);
s_doppler = Cvar_Get("s_doppler", "1", CVAR_ARCHIVE); s_doppler = Cvar_Get("s_doppler", "0", CVAR_ARCHIVE);
Cmd_AddCommand("play", S_Play); Cmd_AddCommand("play", S_Play);
Cmd_AddCommand("stopsound", S_StopAllSounds); Cmd_AddCommand("stopsound", S_StopAllSounds);