The vision matrix was updated in the boulder->statue case, but
not in the statue->boulder case.
fix some cases where movement was disallowed but the hero was still conscious
after destroying drawbridge, hero could appear to be in the wall
sometimes shop items which hero is forced to buy could be sold back twice
+vision was not updated when polymorphing a statue into a boulder
Platform- and/or Interface-Specific Fixes
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 ** */