]> granicus.if.org Git - nethack/commitdiff
drum of earthquake follow-up
authornethack.allison <nethack.allison>
Fri, 14 Apr 2006 17:01:18 +0000 (17:01 +0000)
committernethack.allison <nethack.allison>
Fri, 14 Apr 2006 17:01:18 +0000 (17:01 +0000)
src/music.c

index e250ae4a77598ec6e6620f0f7b688ff0afe68768..8939184c0ea3ccaec075f1cf87c7cf94915c5cf1 100644 (file)
@@ -313,7 +313,7 @@ do_pit:                 chasm = maketrap(x,y,PIT);
                        if(!is_flyer(mtmp->data) && !is_clinger(mtmp->data)) {
                            boolean m_already_trapped = mtmp->mtrapped;
                            mtmp->mtrapped = 1;
-                           if (m_already_trapped) { /* suppress messages */
+                           if (!m_already_trapped) { /* suppress messages */
                                if(cansee(x,y))
                                    pline("%s falls into a chasm!", Monnam(mtmp));
                                else if (!Deaf && humanoid(mtmp->data))