From 9e3ebdccc4cbfb25b9f851a8a1fd7ec30a1fafd9 Mon Sep 17 00:00:00 2001 From: kokekanon <114332266+kokekanon@users.noreply.github.com> Date: Thu, 7 Nov 2024 23:28:37 -0300 Subject: [PATCH] fix compilation post review --- src/client/protocolgameparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index fe613419f..624672821 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -5200,7 +5200,7 @@ void ProtocolGame::parseFeatures(const InputMessagePtr& msg) const uint16_t features = msg->getU16(); for (auto i = 0; i < features; ++i) { const auto feature = static_cast(msg->getU8()); - const bool enabled = static_cast(getU8()); + const bool enabled = static_cast(msg->getU8()); if (enabled) { g_game.enableFeature(feature); } else {