Skip to content

Commit fdc1a2f

Browse files
committed
thcrap_tsa: ignore anm patching for th19
Workaround because anm patching doesn't work yet. Will be reverted when we implement it properly.
1 parent 62f29d3 commit fdc1a2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

thcrap_tsa/src/thcrap_tsa.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ int TH_STDCALL thcrap_plugin_init()
141141
patchhook_register("world*.msg", patch_msg_dlg, NULL); // th185
142142
patchhook_register("e*.msg", patch_msg_end, NULL); // th10+ endings
143143

144-
patchhook_register("*.anm", patch_anm, tlnote_remove_size_hook);
144+
if (game_id != TH19) {
145+
patchhook_register("*.anm", patch_anm, tlnote_remove_size_hook);
146+
}
145147
// Remove TL notes when retrying a stage
146148
patchhook_register("*.std", nullptr, tlnote_remove_size_hook);
147149
return 0;

0 commit comments

Comments
 (0)