From ac3c00561543c10009182877d3498a905b278305 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 31 Jan 2022 20:31:26 +0200 Subject: [PATCH] Fix fall depth from Castle to the Valley --- src/do.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/do.c b/src/do.c index 593be00dc..562d97a40 100644 --- a/src/do.c +++ b/src/do.c @@ -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))