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.325 by root, Sat Jul 28 14:32:22 2007 UTC vs.
Revision 1.326 by root, Tue Jul 31 17:33:15 2007 UTC

2909 for (0 .. SOUND_CAST_SPELL_0 - 1) { 2909 for (0 .. SOUND_CAST_SPELL_0 - 1) {
2910 my $sound = $soundconf->{compat}[$_] 2910 my $sound = $soundconf->{compat}[$_]
2911 or next; 2911 or next;
2912 2912
2913 my $face = cf::face::find "sound/$sound->[1]"; 2913 my $face = cf::face::find "sound/$sound->[1]";
2914
2915 cf::sound::set $sound->[0] => $face; 2914 cf::sound::set $sound->[0] => $face;
2916 cf::sound::old_sound_index $_, $face; # gcfclient-compat 2915 cf::sound::old_sound_index $_, $face; # gcfclient-compat
2917 } 2916 }
2918 2917
2918 while (my ($k, $v) = each %{$soundconf->{event}}) {
2919 my $face = cf::face::find "sound/$v";
2920 cf::sound::set $k => $face;
2919 #TODO 2921 }
2920 } 2922 }
2921 } 2923 }
2922 2924
2923 1 2925 1
2924} 2926}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines