Merge branch 'NetHack-3.6'
# Conflicts: # DEVEL/Developer.txt # include/config.h # include/decl.h # include/display.h # include/extern.h # include/global.h # include/hack.h # include/patchlevel.h # src/display.c # src/dothrow.c # src/makemon.c # src/monst.c # src/objnam.c # src/sp_lev.c # src/wield.c # src/zap.c # sys/share/pmatchregex.c # sys/winnt/Makefile.msc
This commit is contained in:
@@ -1140,10 +1140,10 @@ struct monst *mtmp;
|
||||
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> */
|
||||
|
||||
Reference in New Issue
Block a user