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/script/lua_api/l_env.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script/lua_api/l_env.cpp') diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index 2eb7f3395..246732a17 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -770,7 +770,8 @@ int ModApiEnvMod::l_find_node_near(lua_State *L) #ifndef SERVER // Client API limitations if (getClient(L) && - getClient(L)->checkCSMFlavourLimit(CSMFlavourLimit::CSM_FL_LOOKUP_NODES)) { + getClient(L)->checkCSMRestrictionFlag( + CSMRestrictionFlags::CSM_RF_LOOKUP_NODES)) { radius = std::max(radius, getClient(L)->getCSMNodeRangeLimit()); } #endif -- cgit v1.2.3