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.10 by root, Thu Feb 9 01:15:25 2006 UTC vs.
Revision 1.11 by root, Fri Feb 17 19:36:36 2006 UTC

44 44
45 return if $pl->ob->map->path eq $map 45 return if $pl->ob->map->path eq $map
46 && abs ($pl->ob->x - $x) <= 1 46 && abs ($pl->ob->x - $x) <= 1
47 && abs ($pl->ob->y - $y) <= 1; 47 && abs ($pl->ob->y - $y) <= 1;
48 48
49 my $portal = cf::object::new ("exit"); 49 my $portal = cf::object::new "exit";
50 50
51 $portal->set_slaying ($map); 51 $portal->set_slaying ($map);
52 $portal->set_hp ($x); 52 $portal->set_hp ($x);
53 $portal->set_sp ($y); 53 $portal->set_sp ($y);
54 54

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines