mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove superfluous pointer null checks
This commit is contained in:
committed by
ShadowNinja
parent
7bfd53ba58
commit
5cc8ad946e
@@ -112,11 +112,8 @@ void ItemDefinition::reset()
|
||||
stack_max = 99;
|
||||
usable = false;
|
||||
liquids_pointable = false;
|
||||
if(tool_capabilities)
|
||||
{
|
||||
delete tool_capabilities;
|
||||
tool_capabilities = NULL;
|
||||
}
|
||||
delete tool_capabilities;
|
||||
tool_capabilities = NULL;
|
||||
groups.clear();
|
||||
sound_place = SimpleSoundSpec();
|
||||
sound_place_failed = SimpleSoundSpec();
|
||||
|
Reference in New Issue
Block a user