*Add console command "difftime" to change the interval to record diff time in log.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-01 19:32:44 -06:00
parent 95d6015cb0
commit 704be96b4c
4 changed files with 23 additions and 0 deletions
+1
View File
@@ -415,6 +415,7 @@ class World
uint32 GetUptime() const { return uint32(m_gameTime - m_startTime); }
/// Update time
uint32 GetUpdateTime() const { return m_updateTime; }
void SetRecordDiffInterval(int32 t) { if(t >= 0) m_configs[CONFIG_INTERVAL_LOG_UPDATE] = (uint32)t; }
/// Get the maximum skill level a player can reach
uint16 GetConfigMaxSkillValue() const