mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-10 11:53:07 +08:00
fix(FontMgr): also keep in mind game language when generating font texture (#2892)
This commit is contained in:
+1
-1
@@ -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>();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user