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.25 by root, Tue Dec 12 16:59:34 2006 UTC vs.
Revision 1.26 by root, Fri Dec 15 19:06:29 2006 UTC

24 $portal->free; 24 $portal->free;
25} 25}
26 26
27my %follow; 27my %follow;
28 28
29my $timer = Event->timer (interval => 0.2, parked => 1, cb => sub { 29my $timer = Event->timer (interval => 0.2, parked => 1, data => cf::WF_AUTOCANCEL, cb => sub {
30 while (my ($name, $v) = each %follow) { 30 while (my ($name, $v) = each %follow) {
31 my ($target, $his, $mine) = @$v; 31 my ($target, $his, $mine) = @$v;
32 my ($who, $other) = (cf::player::find $name, cf::player::find $target); 32 my ($who, $other) = (cf::player::find $name, cf::player::find $target);
33 33
34 if ($who && $other && $other->ob->map) { 34 if ($who && $other && $other->ob->map) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines