* map_background() * * Make the real background part of our map. This routine assumes that * the hero can physically see the location. Update the screen if directed. */
| 276 | * the hero can physically see the location. Update the screen if directed. |
| 277 | */ |
| 278 | void |
| 279 | map_background(coordxy x, coordxy y, int show) |
| 280 | { |
| 281 | int glyph = back_to_glyph(x, y); |
| 282 | |
| 283 | if (svl.level.flags.hero_memory) |
| 284 | levl[x][y].glyph = glyph; |
| 285 | if (show) |
| 286 | show_glyph(x, y, glyph); |
| 287 | } |
| 288 | |
| 289 | /* |
| 290 | * map_trap() |
no test coverage detected