Skip to content

Commit

Permalink
Revert "Fix: Sleeping mimics could still hold you."
Browse files Browse the repository at this point in the history
This reverts commit ab080fb.
  • Loading branch information
elunna committed Dec 2, 2024
1 parent e6fef23 commit bbbed15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/uhitm.c
Original file line number Diff line number Diff line change
Expand Up @@ -7420,8 +7420,7 @@ stumble_onto_mimic(struct monst *mtmp)
{
const char *fmt = "Wait! That's %s!", *generic = "a monster", *what = 0;

if (!u.ustuck && !mtmp->mflee && !helpless(mtmp)
&& dmgtype(mtmp->data, AD_STCK)
if (!u.ustuck && !mtmp->mflee && dmgtype(mtmp->data, AD_STCK)
/* must be adjacent; attack via polearm could be from farther away */
&& m_next2u(mtmp))
set_ustuck(mtmp);
Expand Down

0 comments on commit bbbed15

Please sign in to comment.