Skip to content

Commit

Permalink
thcrap_tsa: ignore anm patching for th19
Browse files Browse the repository at this point in the history
Workaround because anm patching doesn't work yet.
Will be reverted when we implement it properly.
  • Loading branch information
brliron committed Aug 17, 2023
1 parent 62f29d3 commit fdc1a2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thcrap_tsa/src/thcrap_tsa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ int TH_STDCALL thcrap_plugin_init()
patchhook_register("world*.msg", patch_msg_dlg, NULL); // th185
patchhook_register("e*.msg", patch_msg_end, NULL); // th10+ endings

patchhook_register("*.anm", patch_anm, tlnote_remove_size_hook);
if (game_id != TH19) {
patchhook_register("*.anm", patch_anm, tlnote_remove_size_hook);
}
// Remove TL notes when retrying a stage
patchhook_register("*.std", nullptr, tlnote_remove_size_hook);
return 0;
Expand Down

0 comments on commit fdc1a2f

Please # to comment.