M36 - can see through polymorphed boulder

The vision matrix was updated in the boulder->statue case, but
not in the statue->boulder case.
This commit is contained in:
cohrs
2005-03-28 18:24:35 +00:00
parent 085af405d6
commit a3341e071b
2 changed files with 4 additions and 0 deletions

View File

@@ -1419,6 +1419,9 @@ no_unwear:
if (obj_location == OBJ_FLOOR && obj->otyp == BOULDER &&
otmp->otyp != BOULDER)
unblock_point(obj->ox, obj->oy);
else if (obj_location == OBJ_FLOOR && obj->otyp != BOULDER &&
otmp->otyp == BOULDER)
block_point(obj->ox, obj->oy);
/* ** we are now done adjusting the object ** */