fix(game.cpp): comment out undeclared variables to fix compile errors
This commit is contained in:
parent
8d07d458bd
commit
eef482cd42
@ -16,7 +16,7 @@ namespace game
|
||||
|
||||
void Cbuf_AddText(int localClientNum, const char* text)
|
||||
{
|
||||
Sys_EnterCriticalSection(193);
|
||||
// Sys_EnterCriticalSection(193);
|
||||
|
||||
auto* cmd_texts = &cmd_textArray[localClientNum];
|
||||
auto text_length = static_cast<int>(strlen(text));
|
||||
@ -27,7 +27,7 @@ namespace game
|
||||
cmd_texts->cmdsize += text_length;
|
||||
}
|
||||
|
||||
Sys_LeaveCriticalSection(193);
|
||||
// Sys_LeaveCriticalSection(193);
|
||||
}
|
||||
|
||||
const auto list_json = utils::nt::load_resource(DVAR_LIST);
|
||||
@ -54,6 +54,7 @@ namespace game
|
||||
Cbuf_AddText(localClientNum, utils::string::va("%s \n", text.data()));
|
||||
}
|
||||
|
||||
/*
|
||||
int Cmd_Argc()
|
||||
{
|
||||
return cmd_args->argc[cmd_args->nesting];
|
||||
@ -73,6 +74,7 @@ namespace game
|
||||
{
|
||||
return sv_cmd_args->argv[sv_cmd_args->nesting][index];
|
||||
}
|
||||
*/
|
||||
|
||||
namespace environment
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user