]> granicus.if.org Git - nethack/commitdiff
first try tonight: lock.c makemon.c
authorkeni <keni>
Fri, 30 Dec 2011 23:10:37 +0000 (23:10 +0000)
committerkeni <keni>
Fri, 30 Dec 2011 23:10:37 +0000 (23:10 +0000)
src/lock.c
src/makemon.c

index c90793cdc63ce6a5c3a2f2220cc8ba0857791dc1..7bd6a25180b7a480f41006f642687654a06c3eb9 100644 (file)
@@ -952,7 +952,7 @@ int x, y;
        default: impossible("magic (%d) attempted on door.", otmp->otyp);
            break;
        }
-       if (msg && cansee(x,y)) pline(msg);
+       if (msg && cansee(x,y)) pline1(msg);
        if (loudness > 0) {
            /* door was destroyed */
            wake_nearto(x, y, loudness);
index 27db7259bd3641e61c9091a2d82715bbae67c67c..7607d1efd92d1077641b0cc5b7bad0561f6e53a5 100644 (file)
@@ -1918,7 +1918,7 @@ int *seencount;   /* secondary output */
        impossible("bad bag o' tricks");
     } else if (bag->spe < 1) {
        /* if tipping known empty bag, give normal empty container message */
-       pline((tipping && bag->cknown) ? "It's empty." : nothing_happens);
+       pline1((tipping && bag->cknown) ? "It's empty." : nothing_happens);
        /* now known to be empty if sufficiently discovered */
        if (bag->dknown && objects[bag->otyp].oc_name_known) bag->cknown = 1;
     } else {
@@ -1943,7 +1943,7 @@ int *seencount;   /* secondary output */
            if (bag->spe > 0) bag->cknown = 1;
            if (bag->dknown) makeknown(BAG_OF_TRICKS);
        } else if (!tipping) {
-           pline(!moncount ? nothing_happens : "Nothing seems to happen.");
+           pline1(!moncount ? nothing_happens : "Nothing seems to happen.");
        }
     }
     return moncount;