diff --git a/Source/Client/Mode/GameMode.cpp b/Source/Client/Mode/GameMode.cpp index 14418f89e..30c286af0 100644 --- a/Source/Client/Mode/GameMode.cpp +++ b/Source/Client/Mode/GameMode.cpp @@ -6651,8 +6651,11 @@ void CGameMode::UpdateBalloons() { g_windowMgr.AddRendered(hintBalloon); static_cast(hintBalloon)->SetText(LookupMessage(MSI_SELECTTARGET), 35); hintBalloon->Move((g_renderer->viewport.width - 640) / 2 - hintBalloon->geometry.width / 2 + 320, 400 * g_renderer->viewport.height / 480); - static_cast(hintBalloon)->m_textColor = 0x32FF32; - static_cast(hintBalloon)->m_outlineColor = 0; + { + UITransBalloonText* hint = static_cast(hintBalloon); + hint->m_textColor = 0x32FF32; + hint->m_outlineColor = 0; + } } }