Trying to fix the avatar problem.

This commit is contained in:
lotodore
2007-10-31 20:23:27 +00:00
parent 184eb4a577
commit e5f05c5359
4 changed files with 10 additions and 2 deletions
+3
View File
@@ -164,6 +164,9 @@ AvatarManager::ChunkReadAvatarFile(boost::shared_ptr<AvatarFileState> fileState,
int
AvatarManager::AvatarFileToNetPackets(const string &fileName, unsigned requestId, NetPacketList &packets)
{
// Serialize avatar access for now.
boost::mutex::scoped_lock lock(m_loadMutex);
int retVal = ERR_NET_INVALID_AVATAR_FILE;
unsigned fileSize;
AvatarFileType fileType;