diff options
author | SmallJoker <mk939@ymail.com> | 2018-06-20 22:36:08 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-26 15:38:42 +0200 |
commit | db42542e271a00efd017b192f3a63e04f5b3dbf4 (patch) | |
tree | 98e8a8381121415f86527252663628b1245f34ec /src/network/clientpackethandler.cpp | |
parent | 7bdf5eae05f63a98a13e520f98e68b9e7d9d544b (diff) | |
download | hax-minetest-server-db42542e271a00efd017b192f3a63e04f5b3dbf4.tar.gz hax-minetest-server-db42542e271a00efd017b192f3a63e04f5b3dbf4.zip |
Rename CSM flavours to restrictions
& Satisfy LINT
Diffstat (limited to 'src/network/clientpackethandler.cpp')
-rw-r--r-- | src/network/clientpackethandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index bc1f18ae8..f8be61317 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -1333,11 +1333,11 @@ void Client::handleCommand_FormspecPrepend(NetworkPacket *pkt) *pkt >> player->formspec_prepend; } -void Client::handleCommand_CSMFlavourLimits(NetworkPacket *pkt) +void Client::handleCommand_CSMRestrictionFlags(NetworkPacket *pkt) { - *pkt >> m_csm_flavour_limits >> m_csm_noderange_limit; + *pkt >> m_csm_restriction_flags >> m_csm_restriction_noderange; - // Now we have flavours, load mods if it's enabled + // Restrictions were received -> load mods if it's enabled // Note: this should be moved after mods receptions from server instead loadMods(); } |