mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-12 09:15:01 +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);
|
||||
}
|
||||
|
||||
ComponentData data;
|
||||
ComponentData data = {};
|
||||
CCharacterCreation::GetRandomRaceAndSex(&data);
|
||||
CCharacterCreation::CalcClasses(data.raceID);
|
||||
|
||||
|
||||
Reference in new issue
Block a user