hothotfix: fixed argument order in call to d2fontglyph.Create

This commit is contained in:
M. Sz 2021-02-19 07:42:25 +01:00
parent 99c7d49510
commit a9ccda1873
1 changed files with 1 additions and 1 deletions

View File

@ -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
}