From: Pasi Kallinen Date: Wed, 25 Mar 2020 17:57:21 +0000 (+0200) Subject: Fix teleporting not unhiding polyed hero X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75a24d2846158dade704fda48b3797226aa9f31f;p=nethack Fix teleporting not unhiding polyed hero --- diff --git a/doc/fixes37.0 b/doc/fixes37.0 index 73fc8c66b..0544ed75f 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -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 diff --git a/src/dungeon.c b/src/dungeon.c index 26c28bf1a..fc01a44af 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -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;