summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nodemetadata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodemetadata.cpp b/src/nodemetadata.cpp
index b8c7d3d9c..1e40a1630 100644
--- a/src/nodemetadata.cpp
+++ b/src/nodemetadata.cpp
@@ -109,10 +109,10 @@ void NodeMetadataList::serialize(std::ostream &os) const
void NodeMetadataList::deSerialize(std::istream &is, IGameDef *gamedef)
{
- m_data.clear();
+ clear();
u8 version = readU8(is);
-
+
if(version == 0){
// Nothing
return;