mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-16 04:25:05 +01:00
Major bugfix: bones could load on the true Madman home level
This could break the quest in a variety of ways, and blocks further progression as a madman. The game might not technically be unwinnable but it is a totally different game now.
This commit is contained in:
parent
e344ba25e1
commit
2d266d796d
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ boolean recursed;
|
|||
|
||||
return (boolean)(((sptr = Is_special(lev)) != 0 && !sptr->boneid)
|
||||
|| !dungeons[lev->dnum].boneid
|
||||
/* no bones in the true madman home level */
|
||||
|| (Role_if(PM_MADMAN) && qstart_level.dnum == lev->dnum && qlocate_level.dlevel == (lev->dlevel+1))
|
||||
/* no bones in the branch level TO the Quest (because this portal can be voided) */
|
||||
|| (!recursed && (bptr = Is_branchlev(lev)) && In_quest(branchlev_other_end(bptr, lev)))
|
||||
/* no bones in a branch level if the other end is nobones */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue