diff -r e593d5266e01 -r 458f4f58c1b6 QTfrontend/main.cpp.in --- a/QTfrontend/main.cpp.in Thu Sep 14 17:20:50 2006 +0000 +++ b/QTfrontend/main.cpp.in Fri Sep 15 13:47:01 2006 +0000 @@ -1,6 +1,6 @@ /* * Hedgewars, a worms-like game - * Copyright (c) 2005 Andrey Korotaev + * Copyright (c) 2005, 2006 Andrey Korotaev * * Distributed under the terms of the BSD-modified licence: * @@ -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;