Fix format string in gsc function

This commit is contained in:
Diavolo 2022-05-27 13:23:41 +02:00
parent 9974d0a71a
commit d917271e29
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -417,5 +417,8 @@ namespace Components
Utils::Hook(0x41BED2, ScriptExtension::Scr_SetObjectFieldStub, HOOK_CALL).install()->quick(); // SetEntityFieldValue
Utils::Hook(0x5FBF01, ScriptExtension::Scr_SetClientFieldStub, HOOK_CALL).install()->quick(); // Scr_SetObjectField
Utils::Hook(0x4FF413, ScriptExtension::Scr_GetEntityFieldStub, HOOK_CALL).install()->quick(); // Scr_GetObjectField
// Fix format string in Scr_RandomFloatRange
Utils::Hook::Set<const char*>(0x5F10C6, "Scr_RandomFloatRange parms: %f %f ");
}
}