*Add config option MinRecordUpdateTimeDiff to prevent timediff spams.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-08 14:57:46 -06:00
1 parent 4296a32f60
commit b57516e170
4 files changed
+19 -8

No files matched your search

+1
View File
@@ -259,6 +259,7 @@ MapManager::Update(time_t diff)
}
ObjectAccessor::Instance().Update(i_timer.GetCurrent());
sWorld.RecordTimeDiff("UpdateObjectAccessor");
for (TransportSet::iterator iter = m_Transports.begin(); iter != m_Transports.end(); ++iter)
(*iter)->Update(i_timer.GetCurrent());
sWorld.RecordTimeDiff("UpdateTransports");