Update submodules and use appropriate cast
This commit is contained in:
parent
55b8d2c5de
commit
6c12b2903a
2
deps/protobuf
vendored
2
deps/protobuf
vendored
@ -1 +1 @@
|
||||
Subproject commit e35e24800fb8d694bdeea5fd63dc7d1b14d68723
|
||||
Subproject commit ee819ea724026396ea33ba4e5d70c020b022731c
|
@ -7,7 +7,7 @@ namespace Components
|
||||
|
||||
bool Logger::IsConsoleReady()
|
||||
{
|
||||
return (IsWindow(*(HWND*)0x64A3288) != FALSE || (Dedicated::IsDedicated() && !Flags::HasFlag("console")));
|
||||
return (IsWindow(*reinterpret_cast<HWND*>(0x64A3288)) != FALSE || (Dedicated::IsDedicated() && !Flags::HasFlag("console")));
|
||||
}
|
||||
|
||||
void Logger::Print(const char* message, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user