leash groundwork

Add another parameter to m_unleash.  This should not introduce
any change in behavior.
This commit is contained in:
nethack.rankin
2002-03-11 08:00:21 +00:00
parent bc8acf4a29
commit 6c91a6bc04
6 changed files with 22 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)dogmove.c 3.4 1997/05/25 */
/* SCCS Id: @(#)dogmove.c 3.4 2002/03/09 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -717,7 +717,7 @@ newdogpos:
if (mtmp->mleashed) { /* play it safe */
pline("%s breaks loose of %s leash!",
Monnam(mtmp), mhis(mtmp));
m_unleash(mtmp);
m_unleash(mtmp, FALSE);
}
(void) mattacku(mtmp);
return(0);