ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra/Protocol.pm (file contents):
Revision 1.12 by root, Sat Apr 8 20:32:56 2006 UTC vs.
Revision 1.13 by root, Sat Apr 8 22:08:26 2006 UTC

317 push @darkness, [$mx, $my + $mh + $dy + 1, $mw, 1 - $dy]; 317 push @darkness, [$mx, $my + $mh + $dy + 1, $mw, 1 - $dy];
318 } 318 }
319 319
320 for (@darkness) { 320 for (@darkness) {
321 my ($x0, $y0, $w, $h) = @$_; 321 my ($x0, $y0, $w, $h) = @$_;
322 warn "xxx $x0 $y0 $w $h\n";#d#
323 for my $x ($x0 .. $x0 + $w) { 322 for my $x ($x0 .. $x0 + $w) {
324 for my $y ($y0 .. $y0 + $h) { 323 for my $y ($y0 .. $y0 + $h) {
325 324
326 my $cell = $map->[$x][$y] 325 my $cell = $map->[$x][$y]
327 or next; 326 or next;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines