1
0

Fixed a memory leak in VillagGen.

This commit is contained in:
madmaxoft 2014-05-31 10:33:12 +02:00
parent 8bf7aed67c
commit f4e9c88dcd

View File

@ -147,6 +147,11 @@ public:
}
}
~cVillage()
{
cPieceGenerator::FreePieces(m_Pieces);
}
protected:
/** Seed for the random functions */
int m_Seed;