ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/sounds.C
(Generate patch)

Comparing deliantra/server/socket/sounds.C (file contents):
Revision 1.19 by root, Tue Jul 31 01:06:20 2007 UTC vs.
Revision 1.20 by root, Tue Jul 31 01:18:16 2007 UTC

87client::play_sound (faceidx sound, int dx, int dy) 87client::play_sound (faceidx sound, int dx, int dy)
88{ 88{
89 if (!sound) 89 if (!sound)
90 return; 90 return;
91 91
92 if (dx < -10 || dx > 10) return;
93 if (dy < -10 || dy > 10) return;
94
92 if (fx_want [FT_SOUND]) 95 if (fx_want [FT_SOUND])
93 { 96 {
94 // cfplus 97 // cfplus
95 send_face (sound); 98 send_face (sound);
96 flush_fx (); 99 flush_fx ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines