Fix fall depth from Castle to the Valley

This commit is contained in:
Pasi Kallinen
2022-01-31 20:31:26 +02:00
parent 2cad4ecec2
commit ac3c005615

View File

@@ -1302,7 +1302,7 @@ goto_level(
struct monst *mtmp;
char whynot[BUFSZ];
char *annotation;
int dist = newlevel->dlevel - dunlev(&u.uz);
int dist = depth(newlevel) - depth(&u.uz);
boolean do_fall_dmg = FALSE;
if (dunlev(newlevel) > dunlevs_in_dungeon(newlevel))