mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 00:41:16 +00:00
"Undeafen" (still cv_voice_chat for now), flipped all bools
Flipped all bools on Undeafen since it's worded different
This commit is contained in:
parent
2c98eefa8d
commit
51ac6c250b
3 changed files with 5 additions and 5 deletions
|
|
@ -5275,7 +5275,7 @@ static void PT_HandleVoiceClient(SINT8 node, boolean isserver)
|
|||
{
|
||||
continue;
|
||||
}
|
||||
if (cv_voice_chat.value != 0 && playernum != g_localplayers[0])
|
||||
if (cv_voice_chat.value != 1 && playernum != g_localplayers[0])
|
||||
{
|
||||
S_QueueVoiceFrameFromPlayer(playernum, (void*)decoded_out, decoded_samples * sizeof(float), false);
|
||||
}
|
||||
|
|
@ -5289,7 +5289,7 @@ static void PT_HandleVoiceClient(SINT8 node, boolean isserver)
|
|||
return;
|
||||
}
|
||||
|
||||
if (cv_voice_chat.value != 0 && playernum != g_localplayers[0])
|
||||
if (cv_voice_chat.value != 1 && playernum != g_localplayers[0])
|
||||
{
|
||||
S_QueueVoiceFrameFromPlayer(playernum, (void*)decoded_out, decoded_samples * sizeof(float), terminal);
|
||||
}
|
||||
|
|
@ -7474,7 +7474,7 @@ void NetVoiceUpdate(void)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (cv_voice_chat.value == 0)
|
||||
if (cv_voice_chat.value == 1)
|
||||
{
|
||||
g_local_voice_buffer_len = 0;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ std::array<Slider, Slider::kNumSliders> sliders{{
|
|||
{
|
||||
if (toggle)
|
||||
{
|
||||
CV_AddValue(&cv_voice_chat, 1);
|
||||
CV_AddValue(&cv_voice_chat, 0);
|
||||
}
|
||||
|
||||
return !S_VoiceDisabled();
|
||||
|
|
|
|||
|
|
@ -2879,7 +2879,7 @@ void S_QueueVoiceFrameFromPlayer(INT32 playernum, void *data, UINT32 len, boolea
|
|||
{
|
||||
return;
|
||||
}
|
||||
if (cv_voice_chat.value != 0)
|
||||
if (cv_voice_chat.value != 1)
|
||||
{
|
||||
I_QueueVoiceFrameFromPlayer(playernum, data, len, terminal);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue