Unlock stages and spells for practice even if continues were used
This commit is contained in:
parent
364a92eb4a
commit
e78f1484c1
2 changed files with 2 additions and 5 deletions
|
@ -865,7 +865,7 @@ void boss_start_attack(Boss *b, Attack *a) {
|
||||||
if(p) {
|
if(p) {
|
||||||
++p->num_played;
|
++p->num_played;
|
||||||
|
|
||||||
if(!p->unlocked && !global.plr.continues_used) {
|
if(!p->unlocked) {
|
||||||
log_info("Spellcard unlocked! %s: %s", i->title, i->subtitle);
|
log_info("Spellcard unlocked! %s: %s", i->title, i->subtitle);
|
||||||
p->unlocked = true;
|
p->unlocked = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -714,10 +714,7 @@ void stage_loop(StageInfo *stage) {
|
||||||
log_debug("You cleared this stage %u times", p->num_cleared);
|
log_debug("You cleared this stage %u times", p->num_cleared);
|
||||||
|
|
||||||
++p->num_played;
|
++p->num_played;
|
||||||
|
p->unlocked = true;
|
||||||
if(!global.plr.continues_used) {
|
|
||||||
p->unlocked = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(!global.replay_stage) {
|
if(!global.replay_stage) {
|
||||||
|
|
Loading…
Reference in a new issue