mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
*Moved CanUnload function to header files - by Zor
*Move flycheck under function - by Zor --HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user