Core: Add a warning message for those who are using SFMT for random number generation.

Patch and suggestion by Paradox.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-10-27 19:51:41 -07:00
parent afe683aff4
commit da4c2339bc

View File

@@ -187,6 +187,13 @@ int Master::Run()
sLog.outString( " \\/_/\\/_/ \\/_/\\/_/\\/_/\\/_/\\/__/ `/___/> \\");
sLog.outString( " C O R E /\\___/");
sLog.outString( "http://TrinityCore.org \\/__/\n");
#ifdef USE_SFMT_FOR_RNG
sLog.outString( "\n");
sLog.outString( "SFMT has been enabled as the random number generator, if worldserver");
sLog.outString( "freezes or crashes randomly, first, try disabling SFMT in CMAKE configuration");
sLog.outString( "\n");
#endif //USE_SFMT_FOR_RNG
/// worldd PID file creation
std::string pidfile = sConfig.GetStringDefault("PidFile", "");