Added missing initialisation of m_is_default.

This commit is contained in:
hiker 2014-02-28 19:01:40 +11:00
parent 0ddeb3b434
commit 14d6e6ae7e

View File

@ -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();