mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-07 21:25:26 +01:00
Fix bad artifact door code.
Maybe this caused the one-off FemHDNoble quest bug?
This commit is contained in:
parent
64d92f26e2
commit
b868acdbd0
1 changed files with 2 additions and 1 deletions
|
@ -1144,12 +1144,13 @@ asGuardian:
|
|||
const char *msg = (const char *)0;
|
||||
const char *dustcloud = "A cloud of dust";
|
||||
const char *quickly_dissipates = "quickly dissipates";
|
||||
int key = artifact_door(ix, iy); /* ALI - Artifact doors from slash'em */
|
||||
int key; /* ALI - Artifact doors from slash'em */
|
||||
for(ix = 0; ix < COLNO; ix++){
|
||||
for(iy = 0; iy < ROWNO; iy++){
|
||||
door = &levl[ix][iy];
|
||||
ttmp = t_at(ix, iy); /* trap if there is one */
|
||||
vis = cansee(ix,iy);
|
||||
key = artifact_door(ix, iy);
|
||||
if (levl[ix][iy].typ == DRAWBRIDGE_DOWN)
|
||||
close_drawbridge(ix,iy);
|
||||
if (ttmp && ttmp->ttyp == TRAPDOOR) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue