ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.32 by root, Thu Apr 13 23:31:42 2006 UTC vs.
Revision 1.33 by root, Thu Apr 13 23:42:14 2006 UTC

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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines