diff options
Diffstat (limited to 'hack/hack.wizard.c')
-rw-r--r-- | hack/hack.wizard.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hack/hack.wizard.c b/hack/hack.wizard.c index 38004cb0..8e268aaa 100644 --- a/hack/hack.wizard.c +++ b/hack/hack.wizard.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.wizard.c,v 1.6 2003/04/02 18:36:41 jsm Exp $ */ +/* $NetBSD: hack.wizard.c,v 1.7 2008/01/28 06:55:42 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.wizard.c,v 1.6 2003/04/02 18:36:41 jsm Exp $"); +__RCSID("$NetBSD: hack.wizard.c,v 1.7 2008/01/28 06:55:42 dholland Exp $"); #endif /* not lint */ /* wizard code - inspired by rogue code from Merlyn Leroy (digi-g!brian) */ @@ -141,7 +141,9 @@ hithim: * on level 26 again. */ if (hitu(mtmp, d(mtmp->data->damn, mtmp->data->damd)) - && !rn2(20) && stealamulet(mtmp)); + && !rn2(20) && stealamulet(mtmp)) { + /* nothing */ + } } else inrange(mtmp); /* try magic */ return (0); |