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

Comparing deliantra/server/ext/rent.ext (file contents):
Revision 1.24 by root, Fri Mar 12 18:12:33 2010 UTC vs.
Revision 1.25 by root, Fri Mar 19 21:37:42 2010 UTC

163 163
164cf::map::attachment rent => 164cf::map::attachment rent =>
165 on_enter => sub { 165 on_enter => sub {
166 my ($map, $pl, $x, $y) = @_; 166 my ($map, $pl, $x, $y) = @_;
167 167
168 return if $pl->ob->flag (cf::FLAG_WIZ);
169
168 my $pfx = sprintf "~%s/", $pl->ob->name; 170 my $pfx = sprintf "~%s/", $pl->ob->name;
169 171
170 # only do something if entering ones own apartment 172 # only do something if entering ones own apartment
171 if ($pfx eq substr $map->path, 0, length $pfx) { 173 if ($pfx eq substr $map->path, 0, length $pfx) {
172 for my $path (keys %{ $pl->{rent}{apartment} }) { 174 for my $path (keys %{ $pl->{rent}{apartment} }) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines