mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: ThePatchRemap table was only initialized in one of FFont's constructors.
This commit is contained in:
parent
c105a1f670
commit
d1ca2a91f3
2 changed files with 2 additions and 1 deletions
|
@ -2694,7 +2694,6 @@ static bool LoadDehSupp ()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
bool gotnames = false;
|
bool gotnames = false;
|
||||||
int i;
|
|
||||||
|
|
||||||
|
|
||||||
if (++DehUseCount > 1)
|
if (++DehUseCount > 1)
|
||||||
|
|
|
@ -899,6 +899,8 @@ FFont::FFont (int lump)
|
||||||
FontName = NAME_None;
|
FontName = NAME_None;
|
||||||
Cursor = '_';
|
Cursor = '_';
|
||||||
noTranslate = false;
|
noTranslate = false;
|
||||||
|
uint8_t pp = 0;
|
||||||
|
for (auto &p : PatchRemap) p = pp++;
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue