ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.196 by root, Sat Jan 27 23:59:29 2007 UTC vs.
Revision 1.197 by root, Sun Jan 28 00:20:02 2007 UTC

1827 my ($self, $path, $x, $y) = @_; 1827 my ($self, $path, $x, $y) = @_;
1828 1828
1829 $self->enter_link; 1829 $self->enter_link;
1830 1830
1831 (async { 1831 (async {
1832 my $map = eval {
1832 my $map = cf::map::find $path; 1833 my $map = cf::map::find $path;
1833 $map = $map->customise_for ($self) if $map; 1834 $map = $map->customise_for ($self) if $map;
1834 1835 $map
1835# warn "entering ", $map->path, " at ($x, $y)\n" 1836 } or
1836# if $map;
1837
1838 $map or $self->message ("The exit to '" . ($path->visible_name) . "' is closed", cf::NDI_UNIQUE | cf::NDI_RED); 1837 $self->message ("The exit to '$path' is closed", cf::NDI_UNIQUE | cf::NDI_RED);
1839 1838
1840 $self->leave_link ($map, $x, $y); 1839 $self->leave_link ($map, $x, $y);
1841 })->prio (1); 1840 })->prio (1);
1842} 1841}
1843 1842

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines