]> granicus.if.org Git - nethack/commitdiff
Fix teleporting not unhiding polyed hero
authorPasi Kallinen <paxed@alt.org>
Wed, 25 Mar 2020 17:57:21 +0000 (19:57 +0200)
committerPasi Kallinen <paxed@alt.org>
Wed, 25 Mar 2020 17:57:25 +0000 (19:57 +0200)
doc/fixes37.0
src/dungeon.c

index 73fc8c66b73452d778c586dbebc82b1ac512e690..0544ed75f3eb74446b63180164c54bacc8d30678 100644 (file)
@@ -91,6 +91,7 @@ praying on an unaligned altar outside of Gehennom behaved like an ordinary
        prayer; make that always fail
 Discworld typo: Moving Pictures passage 12 "or" -> "of"
 unicorn corpses and wraith corpses could be sacrificed even if "too old"
+hero polymorphed into a hider and hiding was not unhidden when teleporting
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index 26c28bf1ac63698467d5a227da245ecc9b2050c3..fc01a44af5c2cb82819a7ae8c3b86ca741d20783 100644 (file)
@@ -1440,6 +1440,7 @@ int x, y;
 #ifdef CLIPPING
     cliparound(u.ux, u.uy);
 #endif
+    u.uundetected = 0;
     /* ridden steed always shares hero's location */
     if (u.usteed)
         u.usteed->mx = u.ux, u.usteed->my = u.uy;