Don't wait for avatars on game sync, instead show them whenever they are there.

This commit is contained in:
lotodore
2007-11-01 00:37:41 +00:00
parent 5abe109e87
commit a3cb6c25e3
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -512,6 +512,13 @@ ClientThread::CompleteTempAvatarData(unsigned playerId)
// Update player info, but never re-request avatar.
SetPlayerInfo(playerId, tmpPlayerInfo, false);
string fileName;
if (GetAvatarManager().GetAvatarFileName(tmpPlayerInfo.avatar, fileName))
{
// Dynamically update avatar in GUI.
GetGui().setPlayerAvatar(playerId, fileName);
}
}
}
// Free memory.