mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(glue): zero-initialize char prefs array in CCharacterCreation::Initialize
This commit is contained in:
parent
e37f768a8d
commit
6c3998b3b0
@ -119,6 +119,8 @@ void CCharacterCreation::Initialize() {
|
||||
CCharacterCreation::s_charCustomizeFrame = nullptr;
|
||||
CCharacterCreation::s_existingCharacterIndex = -1;
|
||||
|
||||
memset(CCharacterCreation::s_charPreferences, 0, sizeof(CCharacterCreation::s_charPreferences));
|
||||
|
||||
CCharacterCreation::s_races.SetCount(0);
|
||||
|
||||
// TODO enum or define for faction sides
|
||||
|
||||
Loading…
Reference in New Issue
Block a user