mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-20 06:05:23 +00:00
hothotfix: fixed argument order in call to d2fontglyph.Create
This commit is contained in:
parent
99c7d49510
commit
a9ccda1873
|
@ -177,7 +177,7 @@ func (f *Font) initGlyphs(sr *d2datautils.StreamReader) error {
|
||||||
// 1, 0, 0, character code repeated, and further 0.
|
// 1, 0, 0, character code repeated, and further 0.
|
||||||
sr.SkipBytes(unknown3BytesCount)
|
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
|
glyphs[rune(code)] = glyph
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user