mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
fix(glue): initalize ComponentData in CCharacterCreation::ResetCharCustomizeInfo
This commit is contained in:
parent
0bf3eea817
commit
93a2131a6b
@ -134,7 +134,7 @@ void CCharacterCreation::ResetCharCustomizeInfo() {
|
|||||||
model->DetachAllChildrenById(0);
|
model->DetachAllChildrenById(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ComponentData data;
|
ComponentData data = {};
|
||||||
CCharacterCreation::GetRandomRaceAndSex(&data);
|
CCharacterCreation::GetRandomRaceAndSex(&data);
|
||||||
CCharacterCreation::CalcClasses(data.raceID);
|
CCharacterCreation::CalcClasses(data.raceID);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user