Refactor CSM restriction code a bit
authorsfan5 <sfan5@live.de>
Fri, 8 Nov 2019 21:57:03 +0000 (22:57 +0100)
committersfan5 <sfan5@live.de>
Mon, 11 Nov 2019 13:06:48 +0000 (14:06 +0100)
commitb0260b5ec8e05e54928f9487bb39b4ff946951f9
treed5e8c2e1c43507549da008dbac2eeba1d6ab059b
parent4d668f32a6d9a0d895a2385dec994d43bd084410
Refactor CSM restriction code a bit

This also fixes find_node_near restrictions being ineffective.
src/client/client.cpp
src/client/client.h
src/script/lua_api/l_client.cpp
src/script/lua_api/l_env.cpp