From 75a24d2846158dade704fda48b3797226aa9f31f Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 25 Mar 2020 19:57:21 +0200 Subject: [PATCH] Fix teleporting not unhiding polyed hero --- doc/fixes37.0 | 1 + src/dungeon.c | 1 + 2 files changed, 2 insertions(+) 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;