… | |
… | |
606 | if (row->c0 <= x + vx && x + vx < row->c1) |
606 | if (row->c0 <= x + vx && x + vx < row->c1) |
607 | { |
607 | { |
608 | mapcell *cell = row->col + (x + vx - row->c0); |
608 | mapcell *cell = row->col + (x + vx - row->c0); |
609 | |
609 | |
610 | darkness[y * sw4 + x] = cell->darkness < 0 |
610 | darkness[y * sw4 + x] = cell->darkness < 0 |
611 | ? 224 |
611 | ? 255 - FOW_DARKNESS |
612 | : 255 - cell->darkness; |
612 | : 255 - cell->darkness; |
613 | |
613 | |
614 | uint16_t face = cell->face [z]; |
614 | uint16_t face = cell->face [z]; |
615 | |
615 | |
616 | if (face) |
616 | if (face) |