mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
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:
parent
bfb11c7712
commit
3fa4832c1c
@ -51,7 +51,7 @@ SH_DECL_HOOK1_void(IServerGameClients, SetCommandClient, SH_NOATTRIB, false, int
|
|||||||
|
|
||||||
GameHooks::GameHooks()
|
GameHooks::GameHooks()
|
||||||
: client_cvar_query_mode_(ClientCvarQueryMode::Unavailable),
|
: client_cvar_query_mode_(ClientCvarQueryMode::Unavailable),
|
||||||
last_command_client_(-1)
|
last_command_client_(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user