diff --git a/core/PlayerManager.cpp b/core/PlayerManager.cpp index 503e3adf..8d2c64a3 100644 --- a/core/PlayerManager.cpp +++ b/core/PlayerManager.cpp @@ -97,8 +97,7 @@ SH_DECL_HOOK2_void(IVEngineServer, ClientPrintf, SH_NOATTRIB, 0, edict_t *, cons static void PrintfBuffer_FrameAction(void *data) { - int client = (int)(intptr_t)data; - g_Players.OnPrintfFrameAction(client); + g_Players.OnPrintfFrameAction(reintrepret_cast(data)); } ConCommand *maxplayersCmd = NULL;