1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-12 10:40:42 +00:00

removed commented code

This commit is contained in:
gravestench 2021-01-11 01:16:29 -08:00
parent 2c0f3d9cd9
commit aa8525ff31

View File

@ -42,12 +42,6 @@ func (a *Asset) Path() string {
// Read will read asset data into the given buffer
func (a *Asset) Read(buf []byte) (n int, err error) {
return a.stream.Read(buf)
//totalRead, err := a.stream.Read(buf)
//if totalRead == 0 {
// return 0, io.EOF
//}
//
//return totalRead, err
}
// Seek will seek the read position for the next read operation