From: keni Date: Fri, 30 Dec 2011 23:10:37 +0000 (+0000) Subject: first try tonight: lock.c makemon.c X-Git-Tag: MOVE2GIT~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6520bbdca9f6a9cce0b4e4579fa66b8ebdb74052;p=nethack first try tonight: lock.c makemon.c --- diff --git a/src/lock.c b/src/lock.c index c90793cdc..7bd6a2518 100644 --- a/src/lock.c +++ b/src/lock.c @@ -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); diff --git a/src/makemon.c b/src/makemon.c index 27db7259b..7607d1efd 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -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;