diff options
author | madmaxoft <github@xoft.cz> | 2014-05-31 10:33:12 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-31 10:33:12 +0200 |
commit | f4e9c88dcdefee2b6e4ca7f97483d4cdfba939ae (patch) | |
tree | 7af36930ac22a7efa6f5841ec0464448db1dad0b | |
parent | Updated PlainsVillage and AlchemistVillage. (diff) | |
download | cuberite-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 |
-rw-r--r-- | src/Generating/VillageGen.cpp | 5 |
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; |