From a9ccda187363faa19b55d74add851d3e641c3f9c Mon Sep 17 00:00:00 2001 From: "M. Sz" Date: Fri, 19 Feb 2021 07:42:25 +0100 Subject: [PATCH] hothotfix: fixed argument order in call to d2fontglyph.Create --- d2common/d2fileformats/d2font/font.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2common/d2fileformats/d2font/font.go b/d2common/d2fileformats/d2font/font.go index d18f188f..bb9beedb 100644 --- a/d2common/d2fileformats/d2font/font.go +++ b/d2common/d2fileformats/d2font/font.go @@ -177,7 +177,7 @@ func (f *Font) initGlyphs(sr *d2datautils.StreamReader) error { // 1, 0, 0, character code repeated, and further 0. sr.SkipBytes(unknown3BytesCount) - glyph := d2fontglyph.Create(int(width), int(height), int(frame)) + glyph := d2fontglyph.Create(int(frame), int(width), int(height)) glyphs[rune(code)] = glyph }