Added missing initialisation of m_is_default.
This commit is contained in:
parent
0ddeb3b434
commit
14d6e6ae7e
@ -38,8 +38,9 @@ PlayerProfile::PlayerProfile(const core::stringw& name, bool is_guest)
|
||||
#ifdef DEBUG
|
||||
m_magic_number = 0xABCD1234;
|
||||
#endif
|
||||
m_name = name;
|
||||
m_name = name;
|
||||
m_is_guest_account = is_guest;
|
||||
m_is_default = false;
|
||||
m_use_frequency = is_guest ? -1 : 0;
|
||||
m_unique_id = PlayerManager::get()->getUniqueId();
|
||||
m_story_mode_status = unlock_manager->createStoryModeStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user