*Moved CanUnload function to header files - by Zor

*Move flycheck under function - by Zor

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-01-24 20:04:43 +01:00
parent 3129217dfa
commit 6be2cfeeed
5 changed files with 68 additions and 36 deletions

View File

@@ -1642,14 +1642,6 @@ void Map::RemoveAllObjectsInRemoveList()
//sLog.outDebug("Object remover 2 check.");
}
bool Map::CanUnload(const uint32 &diff)
{
if(!m_unloadTimer) return false;
if(m_unloadTimer < diff) return true;
m_unloadTimer -= diff;
return false;
}
uint32 Map::GetPlayersCountExceptGMs() const
{
uint32 count = 0;