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.123 by root, Tue Jan 2 19:18:33 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 = find_map $path; 1226 $map = find_map $path
1227 or return;
1226 } 1228 }
1227 1229
1228 $cf::MAP{$key} = $map 1230 $cf::MAP{$key} = $map
1229 } 1231 }
1230} 1232}
2190 or warn "ERROR: unable to write runtime file: $!"; 2192 or warn "ERROR: unable to write runtime file: $!";
2191 })->(); 2193 })->();
2192 }, 2194 },
2193); 2195);
2194 2196
2197END { cf::emergency_save }
2198
21951 21991
2196 2200

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines