From 35b1d272a0ab728b46ed629b1fa92cbe0bf16158 Mon Sep 17 00:00:00 2001 From: Kamay Xutax Date: Wed, 3 Apr 2024 02:05:15 +0200 Subject: [PATCH] Remove DevMsgs for shooting in CreateMove --- game/client/in_main.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/game/client/in_main.cpp b/game/client/in_main.cpp index fee9916bdb..956254158d 100644 --- a/game/client/in_main.cpp +++ b/game/client/in_main.cpp @@ -1289,31 +1289,6 @@ void CInput::CreateMove ( int sequence_number, float input_sample_frametime, boo m_EntityGroundContact.RemoveAll(); #endif - static bool firstTime = false; - - if (cmd->buttons & IN_ATTACK) - { - if (!firstTime) - { - for (int i = 0; i <= MAX_PLAYERS; i++) - { - auto pPlayer = UTIL_PlayerByIndex(i); - - if (pPlayer) - { - const auto &origin = pPlayer->GetAbsOrigin(); - DevMsg("Movement: %s => %f %f %f => %f\n", pPlayer->GetPlayerName(), origin.x, origin.y, origin.z, pPlayer->m_flInterpolatedSimulationTime); - } - } - - firstTime = true; - } - } - else - { - firstTime = false; - } - // Send interpolated simulation time for lag compensation for (int i = 0; i <= MAX_PLAYERS; i++) {