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

Comparing deliantra/server/ext/follow.ext (file contents):
Revision 1.8 by root, Sun Jan 7 02:39:14 2007 UTC vs.
Revision 1.9 by root, Sun Jan 14 18:00:34 2007 UTC

47 47
48 my $name = $who->name; 48 my $name = $who->name;
49 49
50 if ($args ne "" && $name ne $args) { 50 if ($args ne "" && $name ne $args) {
51 if (my $other = cf::player::find_active $args) { 51 if (my $other = cf::player::find_active $args) {
52 if ($other->ob->map eq $who->map 52 if ($other->ob->map == $who->map
53 && abs ($other->ob->x - $who->x) <= 1 53 && abs ($other->ob->x - $who->x) <= 1
54 && abs ($other->ob->y - $who->y) <= 1) { 54 && abs ($other->ob->y - $who->y) <= 1) {
55 $who->message ("Following player '$args', to stop, type: 'follow"); 55 $who->message ("Following player '$args', to stop, type: 'follow");
56 $other->ob->message ("$name is now following your every step..."); 56 $other->ob->message ("$name is now following your every step...");
57 $follow{$name} = [ 57 $follow{$name} = [

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines