Should see rusting next to you if underwater
You can see to the adjacent squares, if they're water and you're underwater - show the item rusting there in that case.
This commit is contained in:
@@ -184,7 +184,7 @@ erode_obj(
|
||||
/* Is g.bhitpos correct here? Ugh. */
|
||||
visobj = !victim && cansee(g.bhitpos.x, g.bhitpos.y)
|
||||
&& (!is_pool(g.bhitpos.x, g.bhitpos.y)
|
||||
|| (u.ux == g.bhitpos.x && u.uy == g.bhitpos.y && Underwater));
|
||||
|| (next2u(g.bhitpos.x,g.bhitpos.y) && Underwater));
|
||||
|
||||
switch (type) {
|
||||
case ERODE_BURN:
|
||||
|
||||
Reference in New Issue
Block a user