summaryrefslogtreecommitdiffstats
path: root/hack/hack.dog.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.dog.c')
-rw-r--r--hack/hack.dog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.dog.c b/hack/hack.dog.c
index 1e839c97..95699a79 100644
--- a/hack/hack.dog.c
+++ b/hack/hack.dog.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.dog.c,v 1.7 2006/03/30 01:25:52 jnemeth Exp $ */
+/* $NetBSD: hack.dog.c,v 1.8 2006/03/30 01:31:13 jnemeth Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.dog.c,v 1.7 2006/03/30 01:25:52 jnemeth Exp $");
+__RCSID("$NetBSD: hack.dog.c,v 1.8 2006/03/30 01:31:13 jnemeth Exp $");
#endif /* not lint */
#include "hack.h"
@@ -366,7 +366,7 @@ dog_move(struct monst *mtmp, int after)
ny = poss[i].y;
if (info[i] & ALLOW_M) {
mtmp2 = m_at(nx, ny);
- if (mtmp2 = NULL)
+ if (mtmp2 == NULL)
panic("error in dog_move");
if (mtmp2->data->mlevel >= mdat->mlevel + 2 ||
mtmp2->data->mlet == 'c')