Unhide a water monster using a polymorph trap

This commit is contained in:
Pasi Kallinen
2023-08-08 16:49:03 +03:00
parent c4e7c96c5f
commit 491cc9933f
2 changed files with 2 additions and 0 deletions

View File

@@ -1227,6 +1227,7 @@ when a werecreature in human form attacked hero, it could transform to critter
despite hero having the Protection_from_shape_changers_attibute
status highlighting for hit points didn't work as intended for up or down HP
changes; 'up' rule was used for both, 'down' rule was ignored
unhide an unseen water monster using a polymorph trap on land
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -2333,6 +2333,7 @@ use_misc(struct monst *mtmp)
remove_monster(mtmp->mx, mtmp->my);
newsym(mtmp->mx, mtmp->my);
place_monster(mtmp, gt.trapx, gt.trapy);
maybe_unhide_at(gt.trapx, gt.trapy);
if (mtmp->wormno)
worm_move(mtmp);
newsym(gt.trapx, gt.trapy);