diff -r 93df479aa1b9 -r ca70467bd0a8 QTfrontend/main.cpp --- a/QTfrontend/main.cpp Sun Aug 27 12:41:27 2006 +0000 +++ b/QTfrontend/main.cpp Sun Aug 27 13:16:40 2006 +0000 @@ -36,6 +36,7 @@ #include #include #include +#include #include "hwform.h" #include "hwconsts.h" @@ -47,6 +48,10 @@ { QApplication app(argc, argv); + QDateTime now = QDateTime::currentDateTime(); + QDateTime zero; + srand(now.secsTo(zero)); + Q_INIT_RESOURCE(hedgewars); QTranslator Translator; @@ -55,7 +60,7 @@ QDir mydir("."); mydir.cd("bin"); - + bindir = new QDir(mydir); cfgdir = new QDir();