Don't force upper case for Auth names

This commit is contained in:
korenkonder
2024-02-07 02:22:40 +03:00
parent ac9c8be7c7
commit 6e9ff2957e
+2 -7
View File
@@ -9381,7 +9381,8 @@ static void x_pv_game_write_glitter(Glitter::EffectGroup* eff_group, const auth_
continue;
replace_names(uid_name);
ext_anim->object_hash = hash_string_murmurhash(uid_name);
object_info info = x_pack_obj_db->get_object_info(uid_name.c_str());
ext_anim->object_hash = ((uint32_t)(uint16_t)info.set_id << 16) | (uint32_t)(uint16_t)info.id;
char auth_name[0x200];
if (!get_replace_auth_name(auth_name, sizeof(auth_name), auth))
@@ -10132,12 +10133,6 @@ static bool get_replace_auth_name(char* name, size_t name_size, auth_3d* auth) {
replace_names(name);
for (char* i = name; *i; i++) {
char c = *i;
if (c >= 'a' && c <= 'z')
*i -= 0x20;
}
return !strstr(name, "EFFCHRPV826");
}