mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-27 09:24:53 +00:00
nilrider:: do not invalidate later goals
This commit is contained in:
parent
87b9a91f8e
commit
2c947bf65f
@ -90,7 +90,7 @@ bool timestamp::collect(level *lev) {
|
|||||||
for(auto& g: lev->goals) {
|
for(auto& g: lev->goals) {
|
||||||
bool gfailed = failed & Flag(gid);
|
bool gfailed = failed & Flag(gid);
|
||||||
bool gsuccess = goals & Flag(gid);
|
bool gsuccess = goals & Flag(gid);
|
||||||
if(gfailed || gsuccess) continue;
|
if(gfailed || gsuccess) { gid++; continue; }
|
||||||
checkerparam cp {this, lev, reversals};
|
checkerparam cp {this, lev, reversals};
|
||||||
auto res = g.check(cp);
|
auto res = g.check(cp);
|
||||||
if(res == grFailed) {
|
if(res == grFailed) {
|
||||||
|
Loading…
Reference in New Issue
Block a user