Reset dooridx too

This commit is contained in:
Pasi Kallinen
2016-05-26 17:58:17 +03:00
parent 5b85a16436
commit 962610f365

View File

@@ -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;