Fix fall depth from Castle to the Valley
This commit is contained in:
@@ -1302,7 +1302,7 @@ goto_level(
|
|||||||
struct monst *mtmp;
|
struct monst *mtmp;
|
||||||
char whynot[BUFSZ];
|
char whynot[BUFSZ];
|
||||||
char *annotation;
|
char *annotation;
|
||||||
int dist = newlevel->dlevel - dunlev(&u.uz);
|
int dist = depth(newlevel) - depth(&u.uz);
|
||||||
boolean do_fall_dmg = FALSE;
|
boolean do_fall_dmg = FALSE;
|
||||||
|
|
||||||
if (dunlev(newlevel) > dunlevs_in_dungeon(newlevel))
|
if (dunlev(newlevel) > dunlevs_in_dungeon(newlevel))
|
||||||
|
|||||||
Reference in New Issue
Block a user