From 74ce0d295a9c0b9402817e9077f72459a6600418 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:46:21 +1000 Subject: [PATCH] chore(deps): bump libraries/hl2sdk-cs2 from `f21e0c9` to `40a9bb9` (#586) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Wilson --- libraries/hl2sdk-cs2 | 2 +- src/core/managers/voice_manager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/hl2sdk-cs2 b/libraries/hl2sdk-cs2 index f21e0c9d8..40a9bb9c0 160000 --- a/libraries/hl2sdk-cs2 +++ b/libraries/hl2sdk-cs2 @@ -1 +1 @@ -Subproject commit f21e0c9d8fc753520cb217ccfcb172d6561c7200 +Subproject commit 40a9bb9c0246eabd91d7abf98099607e024bb61c diff --git a/src/core/managers/voice_manager.cpp b/src/core/managers/voice_manager.cpp index e488edef1..f68afc7df 100644 --- a/src/core/managers/voice_manager.cpp +++ b/src/core/managers/voice_manager.cpp @@ -106,7 +106,7 @@ void VoiceManager::OnClientCommand(CPlayerSlot slot, const CCommand& args) if (!pPlayer) return; - if (args.ArgC() > 1 && stricmp(args.Arg(0), "vban") == 0) + if (args.ArgC() > 1 && V_stricmp(args.Arg(0), "vban") == 0) { // clients just refuse to send vban for indexes over 32 and all 4 fields are just the same number, so we only get the first one // for (int i = 1; (i < args.ArgC()) && (i < 3); i++) {