Unlock stages and spells for practice even if continues were used

This commit is contained in:
Andrei Alexeyev 2018-10-23 06:33:16 +03:00
parent 364a92eb4a
commit e78f1484c1
No known key found for this signature in database
GPG key ID: 72D26128040B9690
2 changed files with 2 additions and 5 deletions

View file

@ -865,7 +865,7 @@ void boss_start_attack(Boss *b, Attack *a) {
if(p) {
++p->num_played;
if(!p->unlocked && !global.plr.continues_used) {
if(!p->unlocked) {
log_info("Spellcard unlocked! %s: %s", i->title, i->subtitle);
p->unlocked = true;
}

View file

@ -714,10 +714,7 @@ void stage_loop(StageInfo *stage) {
log_debug("You cleared this stage %u times", p->num_cleared);
++p->num_played;
if(!global.plr.continues_used) {
p->unlocked = true;
}
p->unlocked = true;
}
} else {
if(!global.replay_stage) {