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

@ -40,6 +40,7 @@ PlayerProfile::PlayerProfile(const core::stringw& name, bool is_guest)
#endif
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();