Prevent trapdoors and holes dropping you into Sanctum
This commit is contained in:
@@ -403,6 +403,10 @@ hole_destination(d_level *dst)
|
||||
dst->dlevel = dunlev(&u.uz);
|
||||
do {
|
||||
dst->dlevel++;
|
||||
if (Is_sanctum(dst)) {
|
||||
dst->dlevel--;
|
||||
break;
|
||||
}
|
||||
} while (!rn2(4) && dst->dlevel < bottom);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user