diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index fe613419fe..6246728218 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 {