Called by blackout(vault.c) when vault guard removes temporary corridor, turning spot back into stone; is an adjacent spot. */
| 3381 | /* Called by blackout(vault.c) when vault guard removes temporary corridor, |
| 3382 | turning spot <x0,y0> back into stone; <x1,y1> is an adjacent spot. */ |
| 3383 | void |
| 3384 | unset_seenv( |
| 3385 | struct rm *lev, /* &levl[x1][y1] */ |
| 3386 | coordxy x0, coordxy y0, /* from */ |
| 3387 | coordxy x1, coordxy y1) /* to; abs(x1-x0)==1 && abs(y0-y1)==1 */ |
| 3388 | |
| 3389 | { |
| 3390 | coordxy dx = x1 - x0, dy = y0 - y1; |
| 3391 | |
| 3392 | lev->seenv &= ~seenv_matrix[dy + 1][dx + 1]; |
| 3393 | } |
| 3394 | |
| 3395 | /* ------------------------------------------------------------------------ */ |
| 3396 |