mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(console): toggle console access based on -console flag
This commit is contained in:
parent
04e625f6a7
commit
37460378a8
2 changed files with 2 additions and 43 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "console/Device.hpp"
|
||||
#include "client/CmdLine.hpp"
|
||||
#include "client/Gui.hpp"
|
||||
#include "console/Console.hpp"
|
||||
#include "console/CVar.hpp"
|
||||
|
|
@ -148,8 +149,7 @@ void ConsoleDeviceInitialize(const char* title) {
|
|||
// TODO proper logic
|
||||
s_hwDetect = true;
|
||||
|
||||
// TODO ConsoleAccessSetEnabled(CmdLineGetBool(35));
|
||||
ConsoleAccessSetEnabled(1);
|
||||
ConsoleAccessSetEnabled(CmdLineGetBool(WOWCMD_CONSOLE));
|
||||
|
||||
// TODO
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue