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.6 by root, Wed Dec 13 21:27:09 2006 UTC vs.
Revision 1.7 by root, Thu Dec 14 01:21:58 2006 UTC

36 soundnum -= SOUND_CAST_SPELL_0; 36 soundnum -= SOUND_CAST_SPELL_0;
37 } 37 }
38 else 38 else
39 soundtype = SOUND_NORMAL; 39 soundtype = SOUND_NORMAL;
40 40
41 SockList sl (MAXSOCKBUF); 41 packet sl;
42 42
43 sl << "sound " 43 sl << "sound "
44 << uint8 (x) 44 << uint8 (x)
45 << uint8 (y) 45 << uint8 (y)
46 << uint16 (soundnum) 46 << uint16 (soundnum)
47 << uint8 (soundtype); 47 << uint8 (soundtype);
48 48
49 Send_With_Handling (&pl->socket, &sl); 49 Send_With_Handling (&pl->socket, &sl);
50 sl.free ();
51} 50}
52 51
53#define POW2(x) ((x) * (x)) 52#define POW2(x) ((x) * (x))
54 53
55/** Plays some sound on map at x,y. */ 54/** Plays some sound on map at x,y. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines