From: PatR Date: Wed, 28 Jul 2021 23:59:45 +0000 (-0700) Subject: goto_level parameters X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb23c4f557a96a50351df38792ac9ebe4736d659;p=nethack goto_level parameters Don't want this comment bit to get mixed up with some other stuff I'm working on. --- diff --git a/src/do.c b/src/do.c index cb50ab556..6fe8bfcdb 100644 --- a/src/do.c +++ b/src/do.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 do.c $NHDT-Date: 1626315675 2021/07/15 02:21:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.269 $ */ +/* NetHack 3.7 do.c $NHDT-Date: 1627516694 2021/07/28 23:58:14 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.270 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Derek S. Ray, 2015. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1248,7 +1248,11 @@ u_collide_m(struct monst *mtmp) DISABLE_WARNING_FORMAT_NONLITERAL void -goto_level(d_level *newlevel, boolean at_stairs, boolean falling, boolean portal) +goto_level( + d_level *newlevel, /* destination */ + boolean at_stairs, /* True if arriving via stairs/ladder */ + boolean falling, /* when fallling to level, objects might tag along */ + boolean portal) /* True if arriving via magic portal */ { int l_idx, save_mode; NHFILE *nhfp;