Unmap invisible glyphs when cleaving and no monster present
This commit is contained in:
+3
-1
@@ -529,8 +529,10 @@ struct attack *uattk;
|
|||||||
mtmp = NULL;
|
mtmp = NULL;
|
||||||
if (isok(x + xdir[i], y + ydir[i]))
|
if (isok(x + xdir[i], y + ydir[i]))
|
||||||
mtmp = m_at(x + xdir[i], y + ydir[i]);
|
mtmp = m_at(x + xdir[i], y + ydir[i]);
|
||||||
if (!mtmp)
|
if (!mtmp) {
|
||||||
|
(void) unmap_invisible(x + xdir[i], y + ydir[i]);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
tmp = find_roll_to_hit(mtmp, uattk->aatyp, uwep,
|
tmp = find_roll_to_hit(mtmp, uattk->aatyp, uwep,
|
||||||
|
|||||||
Reference in New Issue
Block a user