Fix monster hiding under hatching egg staying hidden

This commit is contained in:
Pasi Kallinen
2020-10-24 18:27:34 +03:00
parent 1b37ac6280
commit 22ca1ae4da
2 changed files with 3 additions and 0 deletions

View File

@@ -985,6 +985,8 @@ long timeout;
/* free egg here because we use it above */
obj_extract_self(egg);
obfree(egg, (struct obj *) 0);
if ((mon = m_at(x,y)) && !hideunder(mon) && cansee(x, y))
redraw = TRUE;
}
if (redraw)
newsym(x, y);