aboutsummaryrefslogtreecommitdiff
path: root/packets/messages/types/SvcSounds.go
diff options
context:
space:
mode:
Diffstat (limited to 'packets/messages/types/SvcSounds.go')
-rw-r--r--packets/messages/types/SvcSounds.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/packets/messages/types/SvcSounds.go b/packets/messages/types/SvcSounds.go
index 4d858bf..2dc7974 100644
--- a/packets/messages/types/SvcSounds.go
+++ b/packets/messages/types/SvcSounds.go
@@ -22,11 +22,9 @@ func ParseSvcSounds(reader *bitreader.ReaderType) SvcSounds {
22 } else { 22 } else {
23 length = int16(reader.TryReadInt16()) 23 length = int16(reader.TryReadInt16())
24 } 24 }
25 reader.SkipBits(int(length)) // TODO: Read data properly
26 //data := reader.TryReadBytesToSlice(int(length / 8))
27 return SvcSounds{ 25 return SvcSounds{
28 ReliableSound: reliablesound, 26 ReliableSound: reliablesound,
29 Size: size, 27 Size: size,
30 //Data: data, 28 Data: reader.TryReadBitsToSlice(int(length)),
31 } 29 }
32} 30}