mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rename CSM flavours to restrictions
& Satisfy LINT
This commit is contained in:
parent
7bdf5eae05
commit
db42542e27
13 changed files with 65 additions and 54 deletions
|
@ -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<int>(radius, getClient(L)->getCSMNodeRangeLimit());
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue