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.555 by root, Wed Jun 30 01:32:56 2010 UTC vs.
Revision 1.556 by root, Sat Jul 3 01:49:18 2010 UTC

1861sub generate_random_map { 1861sub generate_random_map {
1862 my ($self, $rmp) = @_; 1862 my ($self, $rmp) = @_;
1863 1863
1864 my $lock = cf::lock_acquire "generate_random_map"; # the random map generator is NOT reentrant ATM 1864 my $lock = cf::lock_acquire "generate_random_map"; # the random map generator is NOT reentrant ATM
1865 1865
1866 # mit "rum" bekleckern, nicht
1867 $self->_create_random_map ( 1866 $self->_create_random_map ($rmp);
1868 $rmp, $rmp->{total_map_hp},
1869 (cf::region::find $rmp->{region})
1870 )
1871} 1867}
1872 1868
1873=item cf::map->register ($regex, $prio) 1869=item cf::map->register ($regex, $prio)
1874 1870
1875Register a handler for the map path matching the given regex at the 1871Register a handler for the map path matching the given regex at the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines