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