first try tonight: lock.c makemon.c

This commit is contained in:
keni
2011-12-30 23:10:37 +00:00
parent 404aac46c1
commit 6520bbdca9
2 changed files with 3 additions and 3 deletions

View 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);

View 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;