mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-02 22:57:04 -05:00
removed commented code
This commit is contained in:
parent
2c0f3d9cd9
commit
aa8525ff31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user