Skip to content

Commit

Permalink
Fix indexes in forwards
Browse files Browse the repository at this point in the history
  • Loading branch information
Garey Akhmetshin committed Dec 16, 2021
1 parent 4219ef4 commit ba84f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions revoice/src/revoice_main.cpp
Expand Up @@ -107,7 +107,7 @@ void SV_ParseVoiceData_emu(IGameClient *cl)
return;
if (!srcPlayer->IsSpeaking())
{
g_OnClientStartSpeak(cl->GetId());
g_OnClientStartSpeak(cl->GetId()+1);
}
srcPlayer->Speak();
srcPlayer->SetLastVoiceTime(g_RehldsSv->GetTime());
Expand Down Expand Up @@ -327,7 +327,7 @@ void StartFrame_PostHook()
if (!player->CheckSpeaking() && player->IsSpeaking())
{
player->SpeakDone();
g_OnClientStopSpeak(i);
g_OnClientStopSpeak(client->GetId()+1);
}
}
auto end = g_audio_waves.end();
Expand Down

0 comments on commit ba84f6f

Please sign in to comment.