diff --git a/deps/protobuf b/deps/protobuf index e35e2480..ee819ea7 160000 --- a/deps/protobuf +++ b/deps/protobuf @@ -1 +1 @@ -Subproject commit e35e24800fb8d694bdeea5fd63dc7d1b14d68723 +Subproject commit ee819ea724026396ea33ba4e5d70c020b022731c diff --git a/src/Components/Modules/Logger.cpp b/src/Components/Modules/Logger.cpp index 5357f582..81b4edb7 100644 --- a/src/Components/Modules/Logger.cpp +++ b/src/Components/Modules/Logger.cpp @@ -7,7 +7,7 @@ namespace Components bool Logger::IsConsoleReady() { - return (IsWindow(*(HWND*)0x64A3288) != FALSE || (Dedicated::IsDedicated() && !Flags::HasFlag("console"))); + return (IsWindow(*reinterpret_cast(0x64A3288)) != FALSE || (Dedicated::IsDedicated() && !Flags::HasFlag("console"))); } void Logger::Print(const char* message, ...)