mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
remove seed to random number generator that is no longer needed
This commit is contained in:
parent
7190ce9a88
commit
f0f3cf7282
1 changed files with 0 additions and 6 deletions
|
@ -235,12 +235,6 @@ void ScriptEngine::init() {
|
|||
// let the VoxelPacketSender know how frequently we plan to call it
|
||||
_voxelsScriptingInterface.getVoxelPacketSender()->setProcessCallIntervalHint(SCRIPT_DATA_CALLBACK_USECS);
|
||||
_particlesScriptingInterface.getParticlePacketSender()->setProcessCallIntervalHint(SCRIPT_DATA_CALLBACK_USECS);
|
||||
|
||||
// call srand to seed the random number generator
|
||||
srand(QDateTime::currentMSecsSinceEpoch()
|
||||
+ QCoreApplication::applicationPid()
|
||||
+ NodeList::getInstance()->getNodeSocket().localPort());
|
||||
|
||||
}
|
||||
|
||||
void ScriptEngine::registerGlobalObject(const QString& name, QObject* object) {
|
||||
|
|
Loading…
Reference in a new issue