From 14d6e6ae7e491a5ca511020812cfb6acaecc3c93 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 28 Feb 2014 19:01:40 +1100 Subject: [PATCH] Added missing initialisation of m_is_default. --- src/config/player_profile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/player_profile.cpp b/src/config/player_profile.cpp index e809c28e6..a54c3a8c7 100644 --- a/src/config/player_profile.cpp +++ b/src/config/player_profile.cpp @@ -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();