mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-05 20:55:59 +00:00
CFont: Prevent Wmaybe-uninitialized warning
This commit is contained in:
parent
4861f118fb
commit
84184da66d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user