Core/Game: Code style again.

Signed-off-by: Gyx <[email protected]>
This commit is contained in:
Gyx
2012-03-28 20:00:29 +08:00
parent 72cdcbfced
commit 1544b208da
20 changed files with 233 additions and 137 deletions
+6 -2
View File
@@ -245,8 +245,12 @@ class Map : public GridRefManager<NGridType>
// currently unused for normal maps
bool CanUnload(uint32 diff)
{
if (!m_unloadTimer) return false;
if (m_unloadTimer <= diff) return true;
if (!m_unloadTimer)
return false;
if (m_unloadTimer <= diff)
return true;
m_unloadTimer -= diff;
return false;
}