1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 03:47:58 +00:00

unlock_all option now unlocks Bringris and Nil Rider

This commit is contained in:
Zeno Rogue
2025-08-31 15:15:42 +02:00
parent 741296208f
commit fea2236fb1
2 changed files with 2 additions and 2 deletions

View File

@@ -1295,7 +1295,7 @@ void geometry_menu(bool for_scores) {
int total_stars = 0;
for(int i=0; i<isize(bgeoms); i++) total_stars += bgeoms[i].stars;
for(int i=0; i<isize(bgeoms); i++) {
if(total_stars >= bgeoms[i].stars_needed || !stars_enabled) {
if(total_stars >= bgeoms[i].stars_needed || !stars_enabled || unlock_all) {
dialog::addTitle(bgeoms[i].name, i == c_geom ? 0xFF00 : 0xFF0000, 150);
dialog::items.back().key = 'a' + i;
dialog::add_action([i, for_scores] {

View File

@@ -357,7 +357,7 @@ void pick_level() {
}
cur_stars += score_here;
if(l->stars_needed > total_stars) {
if(l->stars_needed > total_stars && !unlock_all) {
dialog::addSelItem(l->name, "stars needed: " + its(l->stars_needed), l->hotkey);
}
else {