Fixed a memory leak in VillagGen.
This commit is contained in:
parent
8bf7aed67c
commit
f4e9c88dcd
@ -147,6 +147,11 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~cVillage()
|
||||||
|
{
|
||||||
|
cPieceGenerator::FreePieces(m_Pieces);
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Seed for the random functions */
|
/** Seed for the random functions */
|
||||||
int m_Seed;
|
int m_Seed;
|
||||||
|
Loading…
Reference in New Issue
Block a user