* Loop through all of the object *locations* and update them. Called when * + hallucinating. */
| 1555 | * + hallucinating. |
| 1556 | */ |
| 1557 | void |
| 1558 | see_objects(void) |
| 1559 | { |
| 1560 | struct obj *obj; |
| 1561 | |
| 1562 | for (obj = fobj; obj; obj = obj->nobj) |
| 1563 | if (vobj_at(obj->ox, obj->oy) == obj) |
| 1564 | newsym(obj->ox, obj->oy); |
| 1565 | |
| 1566 | /* Qt's "paper doll" subset of persistent inventory shows map tiles |
| 1567 | for objects which aren't on the floor so not handled by above loop; |
| 1568 | inventory which includes glyphs should also be affected, so do this |
| 1569 | for all interfaces in case any feature that for persistent inventory */ |
| 1570 | update_inventory(); |
| 1571 | } |
| 1572 | |
| 1573 | /* mark the top object of nearby stacks as having been seen, and if |
| 1574 | that object was being displayed as generic, redisplay it as specific */ |
no test coverage detected