Merge branch 'NetHack-3.6.2'
This commit is contained in:
@@ -143,6 +143,8 @@ struct monst *mon;
|
||||
EMIN(mtmp)->renegade =
|
||||
(atyp != u.ualign.type) ^ !mtmp->mpeaceful;
|
||||
}
|
||||
if (is_demon(ptr) && canseemon(mtmp))
|
||||
pline("%s appears in a cloud of smoke!", Amonnam(mtmp));
|
||||
}
|
||||
cnt--;
|
||||
}
|
||||
|
||||
@@ -1236,6 +1236,8 @@ int fd, mode;
|
||||
while ((msg = getmsghistory(init)) != 0) {
|
||||
init = FALSE;
|
||||
msglen = strlen(msg);
|
||||
if (msglen < 1)
|
||||
continue;
|
||||
/* sanity: truncate if necessary (shouldn't happen);
|
||||
no need to modify msg[] since terminator isn't written */
|
||||
if (msglen > BUFSZ - 1)
|
||||
|
||||
Reference in New Issue
Block a user