From aa8525ff31f01929e9c27078274e533a7864b6fe Mon Sep 17 00:00:00 2001 From: gravestench Date: Mon, 11 Jan 2021 01:16:29 -0800 Subject: [PATCH] removed commented code --- d2common/d2loader/mpq/asset.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/d2common/d2loader/mpq/asset.go b/d2common/d2loader/mpq/asset.go index 17ddc0a9..247304dd 100644 --- a/d2common/d2loader/mpq/asset.go +++ b/d2common/d2loader/mpq/asset.go @@ -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