Better Color Change routine. Do it with one upload

This commit is contained in:
korenkonder
2024-06-09 00:16:50 +03:00
parent 3414eb2dd1
commit b06c8535ba
3 changed files with 63 additions and 4 deletions
+2 -2
View File
@@ -14360,8 +14360,8 @@ static void sub_140526FD0(rob_chara_item_cos_data* item_cos_data,
bool changed = false;
if (item->data.col[j].flag & 0x01) {
tex = texture_create_copy_texture(texture_manager_get_copy_id(0x30), tex);
texture_apply_color_tone(tex, tex, &item->data.col[j].col_tone);
tex = texture_create_copy_texture_apply_color_tone(
texture_manager_get_copy_id(0x30), tex, &item->data.col[j].col_tone);
changed = true;
}