ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/utils/cfutil.in
(Generate patch)

Comparing deliantra/server/utils/cfutil.in (file contents):
Revision 1.45 by root, Tue Jul 24 22:49:41 2007 UTC vs.
Revision 1.46 by root, Wed Jul 25 22:30:38 2007 UTC

414 aio_load "$dir/$file", $data; 414 aio_load "$dir/$file", $data;
415 415
416 my $meta = load_cached "$dir/meta", sub { JSON::XS::from_json shift }; 416 my $meta = load_cached "$dir/meta", sub { JSON::XS::from_json shift };
417 417
418 $file =~ s/\.res$//; 418 $file =~ s/\.res$//;
419 $file =~ /\.(ogg|wav|jpg|png)$/; 419 $file =~ s/\.(ogg|wav|jpg|png)$//;
420 420
421 substr $dir, 0, 1 + length $PATH, ""; 421 substr $dir, 0, 1 + length $PATH, "";
422 422
423 $meta = { 423 $meta = {
424 %{ $meta->{"" } || {} }, 424 %{ $meta->{"" } || {} },

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines