Provide training/campaign with a random seed to ignore/use.
authornemo
Thu, 17 May 2012 18:22:20 -0400
changeset 7090 63d09a846444
parent 7089 6c7210257945
child 7091 7989850b4418
Provide training/campaign with a random seed to ignore/use.
QTfrontend/game.cpp
--- a/QTfrontend/game.cpp	Thu May 17 20:19:35 2012 +0200
+++ b/QTfrontend/game.cpp	Thu May 17 18:22:20 2012 -0400
@@ -153,7 +153,7 @@
 {
     QByteArray traincfg;
     HWProto::addStringToBuffer(traincfg, "TL");
-
+    HWProto::addStringToBuffer(traincfg, "eseed " + QUuid::createUuid().toString());
     HWProto::addStringToBuffer(traincfg, "escript " + training);
 
     RawSendIPC(traincfg);
@@ -163,6 +163,7 @@
 {
     QByteArray campaigncfg;
     HWProto::addStringToBuffer(campaigncfg, "TL");
+    HWProto::addStringToBuffer(campaigncfg, "eseed " + QUuid::createUuid().toString());
 
     HWProto::addStringToBuffer(campaigncfg, "escript " + campaign);