From 2b48c376d6457a41f565c0903d8efcb0d4745bb0 Mon Sep 17 00:00:00 2001 From: trml Date: Mon, 6 Jun 2022 04:17:55 +0200 Subject: [PATCH] Fix input getter for dummy --- src/engine/client/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index d8732623d..0fb91eb41 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -622,7 +622,7 @@ int *CClient::GetInput(int Tick, int IsDummy) const } if(Best != -1) - return (int *)m_aInputs[g_Config.m_ClDummy][Best].m_aData; + return (int *)m_aInputs[d][Best].m_aData; return 0; }