From: PatR Date: Tue, 6 Feb 2018 10:20:26 +0000 (-0800) Subject: formatting bit for u_on_rndspot() X-Git-Tag: NetHack-3.6.1_RC01~177^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4b2b39931fe88eb0353af1e51032b00728c6eeb;p=nethack formatting bit for u_on_rndspot() Something trivial I noticed while looking into the stuck-in-wall situation. --- diff --git a/src/dungeon.c b/src/dungeon.c index ca3f7c32d..bb7bce9b1 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -1,4 +1,4 @@ -/* NetHack 3.6 dungeon.c $NHDT-Date: 1491958681 2017/04/12 00:58:01 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.79 $ */ +/* NetHack 3.6 dungeon.c $NHDT-Date: 1517912411 2018/02/06 10:20:11 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.83 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1220,16 +1220,16 @@ int upflag; destination instead of its enclosing region. Note: up vs down doesn't matter in this case because both specify the same exclusion area. */ - place_lregion(dndest.nlx, dndest.nly, dndest.nhx, dndest.nhy, 0, 0, 0, - 0, LR_DOWNTELE, (d_level *) 0); + place_lregion(dndest.nlx, dndest.nly, dndest.nhx, dndest.nhy, + 0, 0, 0, 0, LR_DOWNTELE, (d_level *) 0); else if (up) - place_lregion(updest.lx, updest.ly, updest.hx, updest.hy, updest.nlx, - updest.nly, updest.nhx, updest.nhy, LR_UPTELE, - (d_level *) 0); + place_lregion(updest.lx, updest.ly, updest.hx, updest.hy, + updest.nlx, updest.nly, updest.nhx, updest.nhy, + LR_UPTELE, (d_level *) 0); else - place_lregion(dndest.lx, dndest.ly, dndest.hx, dndest.hy, dndest.nlx, - dndest.nly, dndest.nhx, dndest.nhy, LR_DOWNTELE, - (d_level *) 0); + place_lregion(dndest.lx, dndest.ly, dndest.hx, dndest.hy, + dndest.nlx, dndest.nly, dndest.nhx, dndest.nhy, + LR_DOWNTELE, (d_level *) 0); } /* place you on the special staircase */