mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-29 01:02:27 +03:00
fix(glue): initalize ComponentData in CCharacterCreation::ResetCharCustomizeInfo
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user