mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Cleanup bd_logger_enabled (#463)
* Cleanup bd_logger_enabled * Change dvar flag * Undo flag change.
This commit is contained in:
parent
f9a8e5ca00
commit
65eea18eb8
@ -342,9 +342,8 @@ namespace demonware
|
||||
|
||||
void bd_logger_stub(const char* const function, const char* const msg, ...)
|
||||
{
|
||||
static auto* enabled =
|
||||
game::Dvar_RegisterBool("bd_logger_enabled", false, game::DVAR_FLAG_SAVED, "bdLogger");
|
||||
if (!enabled->current.enabled)
|
||||
static const auto* bd_logger_enabled = game::Dvar_RegisterBool("bd_logger_enabled", false, game::DVAR_FLAG_NONE, "Enable bdLogger");
|
||||
if (!bd_logger_enabled->current.enabled)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user