mirror of
https://github.com/whoahq/whoa.git
synced 2026-12-01 10:13:14 +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();
|
model->DetachFromParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO CCharacterComponent::FreeComponent(existingComponent);
|
CCharacterComponent::FreeComponent(existingComponent);
|
||||||
}
|
}
|
||||||
|
|
||||||
CCharacterCreation::s_character = CCharacterComponent::AllocComponent();
|
CCharacterCreation::s_character = CCharacterComponent::AllocComponent();
|
||||||
|
|||||||
Reference in new issue
Block a user