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.530 by root, Wed Apr 28 21:05:33 2010 UTC vs.
Revision 1.531 by root, Wed Apr 28 21:07:41 2010 UTC

3488 load_resource_file "$DATADIR/treasures" 3488 load_resource_file "$DATADIR/treasures"
3489 or die "unable to load treasurelists\n"; 3489 or die "unable to load treasurelists\n";
3490} 3490}
3491 3491
3492sub reload_sound { 3492sub reload_sound {
3493 warn "loading sound config from $DATADIR/sound\n";
3494
3493 0 < Coro::AIO::aio_load "$DATADIR/sound", my $data 3495 0 < Coro::AIO::aio_load "$DATADIR/sound", my $data
3494 or die "$DATADIR/sound $!"; 3496 or die "$DATADIR/sound $!";
3495 3497
3496 my $soundconf = JSON::XS->new->utf8->relaxed->decode ($data); 3498 my $soundconf = JSON::XS->new->utf8->relaxed->decode ($data);
3497 3499

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines