randomly selected static/mission maps weren't properly reported to others in room (only new seed was)
authorsheepluva
Thu, 22 Sep 2011 23:20:11 +0200
changeset 5993 412ada3d2041
parent 5992 a311b8461ec9
child 5994 3c578f531cc1
randomly selected static/mission maps weren't properly reported to others in room (only new seed was)
QTfrontend/mapContainer.cpp
--- a/QTfrontend/mapContainer.cpp	Thu Sep 22 15:30:40 2011 +0200
+++ b/QTfrontend/mapContainer.cpp	Thu Sep 22 23:20:11 2011 +0200
@@ -509,14 +509,14 @@
 {
     int i = MAPGEN_MAP + 3 + numMissions + rand() % (chooseMap->count() - MAPGEN_MAP - 3 - numMissions);
     chooseMap->setCurrentIndex(i);
-    updatePreview();
+    mapChanged(i);
 }
 
 void HWMapContainer::setRandomMission()
 {
     int i = MAPGEN_MAP + 2 + rand() % numMissions;
     chooseMap->setCurrentIndex(i);
-    updatePreview();
+    mapChanged(i);
 }
 
 void HWMapContainer::setRandomSeed()