fix(gx): fix incorrect cast in CGxString::InitializeViewTranslation

This commit is contained in:
fallenoak committed 2025-12-16 15:51:36 -06:00
1 parent 44e4ca5f77
commit 3643263ce9
1 file changed
+1 -1
+1 -1
View File
@@ -580,7 +580,7 @@ void CGxString::InitializeViewTranslation() {
this->m_viewTranslation.x += (this->m_blockWidth * 0.5f);
}
float v13 = CMath::fuint_pi(this->m_spacing * static_cast<float>(GetScreenPixelHeight())) / GetScreenPixelHeight();
float v13 = CMath::fuint_pi(this->m_spacing * static_cast<float>(GetScreenPixelHeight())) / static_cast<float>(GetScreenPixelHeight());
float v24 = v13 * (float)(this->m_intB0 - 1) + (float)this->m_intB0 * this->m_currentFontHeight;
if (this->m_intD4 >= 4) {