fixed frame hierarchy bugs

This commit is contained in:
aap
2020-08-10 08:22:50 +02:00
parent d92996c66d
commit 0f0147272c
4 changed files with 5 additions and 2 deletions

View File

@@ -345,6 +345,7 @@ Camera::destroy(void)
s_plglist.destruct(this);
assert(this->clump == nil);
assert(this->world == nil);
this->setFrame(nil);
rwFree(this);
numAllocated--;
}