diff --git a/src/gamedata/fonts/font.cpp b/src/gamedata/fonts/font.cpp index da8fd25ee7..09423933fd 100644 --- a/src/gamedata/fonts/font.cpp +++ b/src/gamedata/fonts/font.cpp @@ -194,7 +194,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); @@ -253,7 +253,7 @@ FFont::FFont (const char *name, const char *nametemplate, const char *filetempla { if (texs[i]) { - int position = '!' + i; + int position = lfirst + i; Type = Multilump; if (position < minchar) minchar = position; if (position > maxchar) maxchar = position;