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.125 by root, Tue Jan 2 23:06:39 2007 UTC vs.
Revision 1.126 by root, Tue Jan 2 23:12:47 2007 UTC

1175 $map->{load_path} = $path; 1175 $map->{load_path} = $path;
1176 1176
1177 $map 1177 $map
1178} 1178}
1179 1179
1180sub find_map;
1180sub find_map { 1181sub find_map {
1181 my ($path, $origin) = @_; 1182 my ($path, $origin) = @_;
1182 1183
1183 #warn "find_map<$path,$origin>\n";#d# 1184 #warn "find_map<$path,$origin>\n";#d#
1184 1185
1220 $map->last_access ($cf::RUNTIME); 1221 $map->last_access ($cf::RUNTIME);
1221 1222
1222 if ($map->should_reset) { 1223 if ($map->should_reset) {
1223 $map->reset; 1224 $map->reset;
1224 undef $guard; 1225 undef $guard;
1225 $map = cf::map::find_map ($path) 1226 $map = find_map $path
1226 or return; 1227 or return;
1227 } 1228 }
1228 1229
1229 $cf::MAP{$key} = $map 1230 $cf::MAP{$key} = $map
1230 } 1231 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines