From db42542e271a00efd017b192f3a63e04f5b3dbf4 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 20 Jun 2018 22:36:08 +0200 Subject: Rename CSM flavours to restrictions & Satisfy LINT --- src/network/clientpackethandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/network/clientpackethandler.cpp') 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(); } -- cgit v1.2.3