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.506 by root, Wed Feb 3 20:48:22 2010 UTC vs.
Revision 1.507 by root, Sat Mar 20 02:24:38 2010 UTC

2093 } 2093 }
2094 2094
2095 $self->post_load; 2095 $self->post_load;
2096} 2096}
2097 2097
2098# customize the map for a given player, i.e.
2099# return the _real_ map. used by e.g. per-player
2100# maps to change the path to ~playername/mappath
2098sub customise_for { 2101sub customise_for {
2099 my ($self, $ob) = @_; 2102 my ($self, $ob) = @_;
2100 2103
2101 return find "~" . $ob->name . "/" . $self->{path} 2104 return find "~" . $ob->name . "/" . $self->{path}
2102 if $self->per_player; 2105 if $self->per_player;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines