diff --git a/src/game/World.cpp b/src/game/World.cpp index 6685a3d92..47a3ede3e 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1106,6 +1106,9 @@ void World::SetInitialWorldSettings() ///- Initialize the random number generator srand((unsigned int)time(NULL)); + ///- Time server startup + uint32 uStartTime = getMSTime(); + ///- Initialize config settings LoadConfigSettings(); @@ -1508,6 +1511,9 @@ void World::SetInitialWorldSettings() m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event sLog.outString( "WORLD: World initialized" ); + + uint32 uStartInterval = getMSTimeDiff(uStartTime, getMSTime()); + sLog.outString( "SERVER STARTUP TIME: %i minutes %i seconds", uStartInterval / 60000, (uStartInterval % 60000) / 1000 ); } void World::DetectDBCLang() diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 544121cf4..e4fb343b7 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8754" + #define REVISION_NR "8755" #endif // __REVISION_NR_H__