summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-31 10:33:12 +0200
committermadmaxoft <github@xoft.cz>2014-05-31 10:33:12 +0200
commitf4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae (patch)
tree7af36930ac22a7efa6f5841ec0464448db1dad0b /src
parentUpdated PlainsVillage and AlchemistVillage. (diff)
downloadcuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.tar
cuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.tar.gz
cuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.tar.bz2
cuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.tar.lz
cuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.tar.xz
cuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.tar.zst
cuberite-f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/VillageGen.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Generating/VillageGen.cpp b/src/Generating/VillageGen.cpp
index dfcdf6ef7..b9cb056ad 100644
--- a/src/Generating/VillageGen.cpp
+++ b/src/Generating/VillageGen.cpp
@@ -147,6 +147,11 @@ public:
}
}
+ ~cVillage()
+ {
+ cPieceGenerator::FreePieces(m_Pieces);
+ }
+
protected:
/** Seed for the random functions */
int m_Seed;