add a couple of emits to try and fix the desync. needs testing to make sure everything else is being passed correctly 0.9.14.1
authornemo
Sun, 14 Nov 2010 11:24:36 -0500
branch0.9.14.1
changeset 4316 c4e98c10fc71
parent 4314 8c7f9de9a978
child 4318 0e756d65a368
add a couple of emits to try and fix the desync. needs testing to make sure everything else is being passed correctly
QTfrontend/mapContainer.cpp
--- a/QTfrontend/mapContainer.cpp	Sun Nov 14 11:19:37 2010 -0500
+++ b/QTfrontend/mapContainer.cpp	Sun Nov 14 11:24:36 2010 -0500
@@ -430,12 +430,14 @@
 {
     chooseMap->setCurrentIndex(4 + numMissions + rand() % (chooseMap->count() - 4 - numMissions));
     m_seed = QUuid::createUuid().toString();
+    emit seedChanged(m_seed);
 }
 
 void HWMapContainer::setRandomMission()
 {
     chooseMap->setCurrentIndex(3 + rand() % numMissions);
     m_seed = QUuid::createUuid().toString();
+    emit seedChanged(m_seed);
 }
 
 void HWMapContainer::setRandomSeed()