--- deliantra/server/socket/sounds.C 2006/12/14 01:21:58 1.7 +++ deliantra/server/socket/sounds.C 2006/12/14 04:30:33 1.8 @@ -26,7 +26,7 @@ { char soundtype; - if (!pl->socket.sound) + if (!pl->socket->sound) return; /* Do some quick conversion to the sound type we want. */ @@ -46,7 +46,7 @@ << uint16 (soundnum) << uint8 (soundtype); - Send_With_Handling (&pl->socket, &sl); + Send_With_Handling (pl->socket, &sl); } #define POW2(x) ((x) * (x))