--- deliantra/server/ext/follow.ext 2007/01/05 01:06:26 1.7 +++ deliantra/server/ext/follow.ext 2007/01/07 02:39:14 1.8 @@ -12,7 +12,7 @@ cf::sync_job { while (my ($name, $v) = each %follow) { my ($target, $his, $mine) = @$v; - my ($who, $other) = (cf::player::find $name, cf::player::find $target); + my ($who, $other) = (cf::player::find_active $name, cf::player::find_active $target); if ($who && $other && $other->ob->map) { my ($map, $x, $y) = ($other->ob->map->path, $other->ob->x, $other->ob->y); @@ -48,7 +48,7 @@ my $name = $who->name; if ($args ne "" && $name ne $args) { - if (my $other = cf::player::find $args) { + if (my $other = cf::player::find_active $args) { if ($other->ob->map eq $who->map && abs ($other->ob->x - $who->x) <= 1 && abs ($other->ob->y - $who->y) <= 1) {