Skip to content

Commit

Permalink
- use proper XMove for sheet fonts.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Aug 10, 2021
1 parent 99c6607 commit 9cd1e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/fonts/font.cpp
Expand Up @@ -437,7 +437,7 @@ void FFont::ReadSheetFont(TArray<FolderEntry> &folderdata, int width, int height
Chars[i].OriginalPic->CopySize(*lump, true);
if (Chars[i].OriginalPic != *lump) TexMan.AddGameTexture(Chars[i].OriginalPic);
}
Chars[i].XMove = width;
Chars[i].XMove = (int)Chars[i].OriginalPic->GetDisplayWidth();
}

if (map1252)
Expand Down

0 comments on commit 9cd1e8c

Please sign in to comment.