mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-15 02:31:10 +03:00
feat(glue): free existing component in CCharacterCreation::CreateComponent
This commit is contained in:
1 file changed
+1
-1
@@ -61,7 +61,7 @@ void CCharacterCreation::CreateComponent(ComponentData* data, bool randomize) {
|
||||
model->DetachFromParent();
|
||||
}
|
||||
|
||||
// TODO CCharacterComponent::FreeComponent(existingComponent);
|
||||
CCharacterComponent::FreeComponent(existingComponent);
|
||||
}
|
||||
|
||||
CCharacterCreation::s_character = CCharacterComponent::AllocComponent();
|
||||
|
||||
Reference in new issue
Block a user