diff options
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) |