minetest/src/script/common
Beha 4d7f296717 Do not add group values of zero to group lists. (#8751)
This fixes an issue where when the engine looked up groups (for example,
in ABM node names), NodeDefManager's m_group_to_items would contain nodes
with a group value of zero, resulting in nodes with flammable = 0 being
burned by a fire mod with a group:flammable checking ABM.

It brings consistency to the behaviour described in the api
documentation, where zero and nil groups should be the same.
2019-08-07 10:48:04 +02:00
..
CMakeLists.txt Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
c_content.cpp Do not add group values of zero to group lists. (#8751) 2019-08-07 10:48:04 +02:00
c_content.h Move the clamping of hp/breath when their maximums change to read_object_properties(). (#8689) 2019-07-30 17:29:45 +02:00
c_converter.cpp HTTP API: Allow binary downloads and headers (#8573) 2019-06-06 19:13:29 +02:00
c_converter.h HTTP API: Allow binary downloads and headers (#8573) 2019-06-06 19:13:29 +02:00
c_internal.cpp Clean up stack after script_get_backtrace (#7854) 2018-11-28 20:01:01 +01:00
c_internal.h Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
c_types.cpp Remove lua_State parameter from LuaError::LuaError 2014-03-15 16:28:59 -04:00
c_types.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
helper.cpp HTTP API: Allow binary downloads and headers (#8573) 2019-06-06 19:13:29 +02:00
helper.h Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00