diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-08-22 12:53:02 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-08-22 12:53:02 +0300 |
commit | 23717510c21c89f39760faf033844d531fc093b5 (patch) | |
tree | 078e94632a2d622f0d45673d43e867b717496429 /src/mapnode.cpp | |
parent | 29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557 (diff) | |
parent | dc4ac0b96fc11d4620f04d6068e681ab793a5d92 (diff) | |
download | hax-minetest-server-23717510c21c89f39760faf033844d531fc093b5.tar.gz hax-minetest-server-23717510c21c89f39760faf033844d531fc093b5.zip |
Merge branch 'lava'
Diffstat (limited to '')
-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) |