1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-19 02:46:35 -05:00

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

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
}