Merge pull request #337 from BenCat07/patch-3

Fix clientside Lag after tick 1
This commit is contained in:
nullifiedcat 2018-01-25 22:01:14 +03:00 committed by GitHub
commit 0997f9f4cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,11 +213,10 @@ void CreateMove()
if (!amount) if (!amount)
return; return;
// Modifying command_number and lastoutgoingcommand turned out to be useless
// cmd->command_number += amount; cmd->command_number += amount;
//*(int*)((unsigned)g_IBaseClientState + offsets::lastoutgoingcommand()) += *(int*)((unsigned)g_IBaseClientState + offsets::lastoutgoingcommand()) +=
// amount; amount;
INetChannel *ch = (INetChannel *) g_IEngine->GetNetChannelInfo(); INetChannel *ch = (INetChannel *) g_IEngine->GetNetChannelInfo();
int &m_nOutSequenceNr = int &m_nOutSequenceNr =