ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/cfplus
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/cfplus (file contents):
Revision 1.211 by root, Sun Aug 12 01:49:25 2007 UTC vs.
Revision 1.212 by root, Sun Aug 12 13:09:44 2007 UTC

263 or return; 263 or return;
264 $CFG->{effects_enable} 264 $CFG->{effects_enable}
265 or return; 265 or return;
266 266
267 my $queue = $AUDIO_PLAY{$face} ||= []; 267 my $queue = $AUDIO_PLAY{$face} ||= [];
268 push @$queue, [Event::time + 0.2, $dx, $dy, $vol]; # delay sound by max. 0.2s 268 push @$queue, [Event::time + 0.6, $dx, $dy, $vol]; # do not play sound for outdated events
269 audio_sound_push $face 269 audio_sound_push $face
270 unless @$queue > 1; 270 unless @$queue > 1;
271} 271}
272 272
273sub audio_music_set_meta { 273sub audio_music_set_meta {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines