Fix assertion
This commit is contained in:
parent
6251a1d5ac
commit
123691e550
@ -163,7 +163,7 @@ void command::client_command_sp(int client_num, const char* s)
|
|||||||
{
|
{
|
||||||
auto* entity = &game::native::sp::g_entities[client_num];
|
auto* entity = &game::native::sp::g_entities[client_num];
|
||||||
|
|
||||||
assert(entity != nullptr); // On sp it should only be an assertion
|
assert(entity->client != nullptr); // On sp it should only be an assertion
|
||||||
|
|
||||||
params_sv params;
|
params_sv params;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user