diff --git a/doc/fixes34.2 b/doc/fixes34.2 index 55c4301c0..3dc3aa564 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -103,6 +103,7 @@ revived pet corpse from bones file should not be loyal to current player finding a statue trap you are about to dig should stop your occupation try to keep saddle at the same location as the steed corpse never display I symbol on the mounted hero/steed location +pit digging is no longer stopped by a sleeping monster next to you Platform- and/or Interface-Specific Fixes diff --git a/src/monmove.c b/src/monmove.c index 5dc384f65..f0d1a156e 100644 --- a/src/monmove.c +++ b/src/monmove.c @@ -116,6 +116,7 @@ dochugw(mtmp) /* can see it now, or sense it and would normally see it */ (canseemon(mtmp) || (sensemon(mtmp) && couldsee(mtmp->mx,mtmp->my))) && + mtmp->mcanmove && !noattacks(mtmp->data) && !onscary(u.ux, u.uy, mtmp)) stop_occupation(); diff --git a/src/vision.c b/src/vision.c index de9099307..e614bdd9d 100644 --- a/src/vision.c +++ b/src/vision.c @@ -587,7 +587,7 @@ vision_recalc(control) next_rmin[row] = min(next_rmin[row], col); next_rmax[row] = max(next_rmax[row], col); - next_array[row][col] = IN_SIGHT; + next_array[row][col] = IN_SIGHT | COULD_SEE; } } @@ -601,7 +601,7 @@ vision_recalc(control) next_row = next_array[row]; for(col=next_rmin[row]; col <= next_rmax[row]; col++) - next_row[col] = IN_SIGHT; + next_row[col] = IN_SIGHT | COULD_SEE; } } else view_from(u.uy, u.ux, next_array, next_rmin, next_rmax,