- fixed character position assignment for multi-lump fonts

https://forum.zdoom.org/viewtopic.php?t=64741#p1104427
(patch by _mental_)
This commit is contained in:
drfrag 2019-05-26 20:12:42 +02:00
parent 5add93d60a
commit 1c593d0f67

View file

@ -1203,7 +1203,7 @@ FFont::FFont (const char *name, const char *nametemplate, const char *filetempla
{
for (i = 0; i < lcount; i++)
{
int position = '!' + i;
int position = lfirst + i;
mysnprintf(buffer, countof(buffer), nametemplate, i + start);
lump = TexMan.CheckForTexture(buffer, ETextureType::MiscPatch);