sent out of his room (caller might resort to goodpos() if
we report failure here, so this isn't full prevention) */
if (mtmp->isshk && inhishop(mtmp)) {
- if (levl[x][y].roomno != (unsigned char) ESHK(mtmp)->shoproom)
+ if (levl[x][y].roomno != ESHK(mtmp)->shoproom)
return FALSE;
} else if (mtmp->ispriest && inhistemple(mtmp)) {
- if (levl[x][y].roomno != (unsigned char) EPRI(mtmp)->shroom)
+ if (levl[x][y].roomno != EPRI(mtmp)->shroom)
return FALSE;
}
/* current location is <xx,yy> */
&& cw->cury == 0
&& n0 + (int) strlen(toplines) + 3 < CO - 8 /* room for --More-- */
&& (notdied = strncmp(bp, "You die", 7)) != 0) {
- nhassert((long) strlen(toplines) == cw->curx);
+ nhassert(strlen(toplines) == cw->curx);
Strcat(toplines, " ");
Strcat(toplines, bp);
cw->curx += 2;