CFont: Prevent Wmaybe-uninitialized warning

This commit is contained in:
Lioncash 2020-06-14 17:03:49 -04:00
parent 4861f118fb
commit 84184da66d

View File

@ -130,7 +130,7 @@ CVector2f CFont::RenderString(const TString& rkString, CRenderer* /*pRenderer*/,
// Draw stroke
if (mTextureFormat == 1 || mTextureFormat == 3 || mTextureFormat == 8)
{
uint8 StrokeLayer;
uint8 StrokeLayer = 0;
if (mTextureFormat == 1)
StrokeLayer = 1;
else if (mTextureFormat == 3)