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
+2 -2
View File
@@ -1,4 +1,4 @@
/* SCCS Id: @(#)teleport.c 3.4 2001/12/06 */
/* SCCS Id: @(#)teleport.c 3.4 2002/03/09 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -332,7 +332,7 @@ boolean force_it;
} else {
Your("leash goes slack.");
release_it:
m_unleash(mtmp);
m_unleash(mtmp, FALSE);
return TRUE;
}
}