FULLPIPE: Implement StaticANIObject::~StaticANIObject()

This commit is contained in:
Eugene Sandulenko 2014-05-02 12:45:42 +03:00
parent e714dea7c7
commit 28cb3e82d1

View File

@ -141,7 +141,17 @@ StaticANIObject::StaticANIObject() {
}
StaticANIObject::~StaticANIObject() {
warning("STUB: StaticANIObject::~StaticANIObject()");
for (uint i = 0; i < _staticsList.size(); i++)
delete _staticsList[i];
_staticsList.clear();
for (uint i = 0; i < _movements.size(); i++)
delete _movements[i];
_movements.clear();
g_fp->_mgm->clear();
}
StaticANIObject::StaticANIObject(StaticANIObject *src) : GameObject(src) {