fix(FontMgr): also keep in mind game language when generating font texture (#2892)

This commit is contained in:
Andreas Maerten
2024-07-23 08:47:38 +02:00
committed by GitHub
parent 286a54045f
commit 9885b68014
15 changed files with 333 additions and 274 deletions
+1 -1
View File
@@ -1210,7 +1210,7 @@ namespace big
"83 3D ? ? ? ? ? 44 8B C3",
[](memory::handle ptr)
{
g_pointers->m_gta.m_language = ptr.add(2).rip().add(1).as<int*>();
g_pointers->m_gta.m_language = ptr.add(2).rip().add(1).as<eGameLanguage*>();
g_pointers->m_gta.m_update_language = ptr.add(0x38).rip().as<functions::update_language>();
}
},