diff --git a/Fusion/src/Hooks/EngineClient_ClientCmd_Unrestricted.cpp b/Fusion/src/Hooks/EngineClient_ClientCmd_Unrestricted.cpp index 52c01be..584b65f 100644 --- a/Fusion/src/Hooks/EngineClient_ClientCmd_Unrestricted.cpp +++ b/Fusion/src/Hooks/EngineClient_ClientCmd_Unrestricted.cpp @@ -31,7 +31,7 @@ std::string owoify(std::string text) if (text.size() < 124) { - int suffix{ I::UniformRandomStream->RandomInt(0, suffixes.size() - 1) }; + int suffix{ I::UniformRandomStream->RandomInt(0, static_cast(suffixes.size() - 1)) }; text += suffixes[suffix]; } @@ -93,4 +93,4 @@ MAKE_HOOK(EngineClient_ClientCmd_Unrestricted, U::Memory.GetVFunc(I::EngineClien } CALL_ORIGINAL(ecx, cmdString.c_str()); -} \ No newline at end of file +}