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.6 by root, Tue Feb 7 00:56:16 2006 UTC vs.
Revision 1.7 by root, Tue Feb 7 01:03:44 2006 UTC

73 } 73 }
74 74
75 my $map; 75 my $map;
76 76
77 if ($map = cf::map::map $mine->[0] 77 if ($map = cf::map::map $mine->[0]
78 and !grep $_->flag (cf::FLAG_UNIQUE), $map->at ($mine->[1], $mine->[2])) { 78 and !grep $_->flag (cf::FLAG_UNIQUE) && $_->flag (cf::FLAG_IS_FLOOR),
79 $map->at ($mine->[1], $mine->[2])) {
79 teleport $who, @$mine; 80 teleport $who, @$mine;
80 } else { 81 } else {
81 delete $follow{$name}; 82 delete $follow{$name};
82 $who->ob->message ("$target is gone where you can't follow..."); 83 $who->ob->message ("$target is gone where you can't follow...");
83 } 84 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines