mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-05 17:57:17 -05:00
Merge pull request #1069 from gucio321/hotfix2
hothotfix: fixed argument order in call to d2fontglyph.Create
This commit is contained in:
commit
30fb02bc10
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user