aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mg_decoration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen/mg_decoration.h')
-rw-r--r--src/mapgen/mg_decoration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapgen/mg_decoration.h b/src/mapgen/mg_decoration.h
index af8fcd7bf..1f9eb4510 100644
--- a/src/mapgen/mg_decoration.h
+++ b/src/mapgen/mg_decoration.h
@@ -99,11 +99,13 @@ public:
ObjDef *clone() const;
DecoSchematic() = default;
+ virtual ~DecoSchematic();
virtual size_t generate(MMVManip *vm, PcgRandom *pr, v3s16 p, bool ceiling);
Rotation rotation;
Schematic *schematic = nullptr;
+ bool was_cloned = false; // see FIXME inside DecoSchemtic::clone()
};