Add console flag
This commit is contained in:
parent
5574aea293
commit
5242b59600
@ -24,7 +24,10 @@ namespace Components
|
|||||||
Console::Console()
|
Console::Console()
|
||||||
{
|
{
|
||||||
// External console
|
// External console
|
||||||
Utils::Hook::Nop(0x60BB58, 11);
|
if (Flags::HasFlag("console") || Dedicated::IsDedicated())
|
||||||
|
{
|
||||||
|
Utils::Hook::Nop(0x60BB58, 11);
|
||||||
|
}
|
||||||
|
|
||||||
// Console '%s: %s> ' string
|
// Console '%s: %s> ' string
|
||||||
Utils::Hook::Set<char*>(0x5A44B4, "IW4x: r" REVISION_STR "> ");
|
Utils::Hook::Set<char*>(0x5A44B4, "IW4x: r" REVISION_STR "> ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user