* map_engraving() * * Map the engraving and print it out if directed. */
| 310 | * Map the engraving and print it out if directed. |
| 311 | */ |
| 312 | void |
| 313 | map_engraving(struct engr *ep, int show) |
| 314 | { |
| 315 | coordxy x = ep->engr_x, y = ep->engr_y; |
| 316 | int glyph = engraving_to_glyph(ep); |
| 317 | |
| 318 | if (svl.level.flags.hero_memory) |
| 319 | levl[x][y].glyph = glyph; |
| 320 | if (show) |
| 321 | show_glyph(x, y, glyph); |
| 322 | } |
| 323 | |
| 324 | /* |
| 325 | * map_object() |
no test coverage detected