Implemented official level update fix

This commit is contained in:
2024-03-11 18:07:11 +02:00
parent 284a9a3f29
commit fb64ecafe7
3 changed files with 36 additions and 16 deletions

View File

@ -656,6 +656,8 @@ void CInstanceBase::UpdateTextTailLevel(DWORD level)
//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);
m_dwLevel = level;
char szText[256];
sprintf(szText, "Lv %d", level);
CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);