mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-16 13:48:04 +00:00
rogueviz:: nilrider:: fixed star counting
This commit is contained in:
@@ -345,8 +345,8 @@ void pick_level() {
|
|||||||
auto plan = l->records[1][gid];
|
auto plan = l->records[1][gid];
|
||||||
if(plan) score_here += l->goals[gid].sa(plan);
|
if(plan) score_here += l->goals[gid].sa(plan);
|
||||||
}
|
}
|
||||||
cur_stars += score_here;
|
|
||||||
}
|
}
|
||||||
|
cur_stars += score_here;
|
||||||
|
|
||||||
if(l->stars_needed > total_stars) {
|
if(l->stars_needed > total_stars) {
|
||||||
dialog::addSelItem(l->name, "stars needed: " + its(l->stars_needed), l->hotkey);
|
dialog::addSelItem(l->name, "stars needed: " + its(l->stars_needed), l->hotkey);
|
||||||
|
|||||||
Reference in New Issue
Block a user