From 6be2cfeeed14bbacaa19382485a7ef4fc739abcb Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Sat, 24 Jan 2009 20:04:43 +0100 Subject: *Moved CanUnload function to header files - by Zor *Move flycheck under function - by Zor --HG-- branch : trunk --- src/game/Map.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/game/Map.cpp') diff --git a/src/game/Map.cpp b/src/game/Map.cpp index bef251bd880..7bf4c3fa83e 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -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; -- cgit v1.2.3