Glitch fix

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
unitraxx 2013-08-23 23:47:48 +00:00
parent 2ee5a1b188
commit f9f4047155
2 changed files with 3 additions and 1 deletions

View File

@ -535,6 +535,7 @@ namespace Online{
if (now_online)
{
relation_info->setOnline(true);
profile->setFriend();
to_notify.push_back(profile->getUserName());
}
}

View File

@ -48,7 +48,8 @@ namespace Online{
void Profile::RelationInfo::setOnline(bool online)
{
m_is_online = online;
m_is_pending = false;
if(m_is_online)
m_is_pending = false;
}
// ============================================================================