Default last_command_client_ to 0 instead of -1.

Fix from: fe16e8e47c
Docs: https://github.com/alliedmodders/hl2sdk/blob/sdk2013/tier1/commandbuffer.cpp#L568
This commit is contained in:
Kyle Sanderson 2017-12-26 15:37:08 -08:00
parent bfb11c7712
commit 3fa4832c1c

View File

@ -51,7 +51,7 @@ SH_DECL_HOOK1_void(IServerGameClients, SetCommandClient, SH_NOATTRIB, false, int
GameHooks::GameHooks()
: client_cvar_query_mode_(ClientCvarQueryMode::Unavailable),
last_command_client_(-1)
last_command_client_(0)
{
}