Fixing some compiler warnings and single-threaded game issues. Note: The server currently crashes when trying to start a game.

This commit is contained in:
lotodore
2009-05-31 11:00:33 +00:00
parent 08ed5e0496
commit 2952f0b85d
5 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -525,7 +525,7 @@ AvatarManager::RemoveOldAvatarCacheEntries()
while (!timeMap.empty() && !m_cachedAvatars.empty())
{
TimeAvatarMap::iterator i = timeMap.begin();
if (curTime - i->first < MAX_AVATAR_CACHE_AGE)
if (curTime - i->first < (int)MAX_AVATAR_CACHE_AGE)
break;
AvatarMap::iterator pos = m_cachedAvatars.find(i->second);
if (pos != m_cachedAvatars.end())