ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/follow.ext
(Generate patch)

Comparing deliantra/maps/perl/follow.ext (file contents):
Revision 1.21 by root, Fri Aug 25 15:12:21 2006 UTC vs.
Revision 1.22 by root, Wed Aug 30 13:04:23 2006 UTC

39 @$his = ($map, $x, $y); 39 @$his = ($map, $x, $y);
40 } 40 }
41 41
42 my $map; 42 my $map;
43 43
44 if ($map = cf::map::map $mine->[0] 44 if ($map = cf::map::find $mine->[0]
45 and !grep $_->flag (cf::FLAG_UNIQUE) && $_->flag (cf::FLAG_IS_FLOOR), 45 and !grep $_->flag (cf::FLAG_UNIQUE) && $_->flag (cf::FLAG_IS_FLOOR),
46 $map->at ($mine->[1], $mine->[2])) { 46 $map->at ($mine->[1], $mine->[2])) {
47 teleport $who, @$mine; 47 teleport $who, @$mine;
48 } else { 48 } else {
49 delete $follow{$name}; 49 delete $follow{$name};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines