Skip to content

Commit

Permalink
fix compilation post review
Browse files Browse the repository at this point in the history
  • Loading branch information
kokekanon committed Nov 8, 2024
1 parent 9817d8f commit 9e3ebdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/protocolgameparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Otc::GameFeature>(msg->getU8());
const bool enabled = static_cast<bool>(getU8());
const bool enabled = static_cast<bool>(msg->getU8());
if (enabled) {
g_game.enableFeature(feature);
} else {
Expand Down

0 comments on commit 9e3ebdc

Please sign in to comment.