From: Pasi Kallinen Date: Thu, 26 May 2016 14:58:17 +0000 (+0300) Subject: Reset dooridx too X-Git-Tag: NetHack-3.6.1_RC01~739 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=962610f365cfbc831af0780c211b628c68b648a4;p=nethack Reset dooridx too --- diff --git a/src/do_name.c b/src/do_name.c index 07871ffad..8e0af2934 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -423,7 +423,7 @@ const char *goal; } else if (c == '@') { /* return to hero's spot */ /* reset 'm','M' and 'o','O'; otherwise, there's no way for player to achieve that except by manually cycling through all spots */ - monidx = objidx = 0; + monidx = objidx = dooridx = 0; cx = u.ux; cy = u.uy; goto nxtc;