equal
deleted
inserted
replaced
481 } |
481 } |
482 } |
482 } |
483 |
483 |
484 void HWMapContainer::setRandomStatic() |
484 void HWMapContainer::setRandomStatic() |
485 { |
485 { |
486 chooseMap->setCurrentIndex(MAPGEN_MAP + 1 + numMissions + rand() % (chooseMap->count() - MAPGEN_MAP - 1 - numMissions)); |
486 chooseMap->setCurrentIndex(MAPGEN_MAP + 2 + numMissions + rand() % (chooseMap->count() - MAPGEN_MAP - 2 - numMissions)); |
487 setRandomSeed(); |
487 setRandomSeed(); |
488 } |
488 } |
489 |
489 |
490 void HWMapContainer::setRandomMission() |
490 void HWMapContainer::setRandomMission() |
491 { |
491 { |