diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-08-15 02:04:56 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-08-15 02:04:56 +0300 |
commit | 8f42a8be0c760322207287e50b624bd3d388a2e1 (patch) | |
tree | ebaadb35b922e2b3c0a3ef25a4841baf5c32c743 /src/mapnode.cpp | |
parent | c4b707bca265c0c7a76abe01d6c36f354b7010fe (diff) | |
download | minetest-8f42a8be0c760322207287e50b624bd3d388a2e1.tar.gz minetest-8f42a8be0c760322207287e50b624bd3d388a2e1.tar.bz2 minetest-8f42a8be0c760322207287e50b624bd3d388a2e1.zip |
lava!
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r-- | src/mapnode.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp index 9a8a73295..956abe5c7 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -30,8 +30,9 @@ with this program; if not, write to the Free Software Foundation, Inc., ContentFeatures::~ContentFeatures() { - if(initial_metadata) - delete initial_metadata; + delete initial_metadata; + delete special_material; + delete special_atlas; } void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha) |