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

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.119 by root, Mon Apr 17 06:50:26 2006 UTC vs.
Revision 1.120 by root, Mon Apr 17 07:51:24 2006 UTC

567} 567}
568 568
569sub conn::flood_fill { 569sub conn::flood_fill {
570 my ($self, $path, $hash, $flags, $x0, $y0, $x1, $y1) = @_; 570 my ($self, $path, $hash, $flags, $x0, $y0, $x1, $y1) = @_;
571 571
572 # the server doe snot allow map paths > 6
573 return if 6 <= length $path;
574
572 for my $tile (1..4) { 575 for my $tile (1..4) {
573 next if $self->{neigh}{$hash}[$tile]; 576 next if $self->{neigh}{$hash}[$tile];
574 next unless $flags & (1 << ($tile - 1)); 577 next unless $flags & (1 << ($tile - 1));
575 578
576 my $neigh = $self->{neigh}{$hash} ||= []; 579 my $neigh = $self->{neigh}{$hash} ||= [];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines