1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-19 19:06:45 -05:00

need to change reference to stream reader after d2common refactor moved it (#719)

This commit is contained in:
lord 2020-09-08 14:39:18 -07:00 committed by GitHub
parent 65cce60eab
commit a0345ef3b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/OpenDiablo2/OpenDiablo2/d2common"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2datautils"
)
const (
@ -58,7 +58,7 @@ func (ad *AnimationData) GetRecords(name string) []*AnimationDataRecord {
// Load loads the data into an AnimationData struct
func Load(data []byte) (*AnimationData, error) {
reader := d2common.CreateStreamReader(data)
reader := d2datautils.CreateStreamReader(data)
animdata := &AnimationData{}
hashIdx := 0