randomly selected static/mission maps weren't properly reported to others in room (only new seed was)
--- 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()