From 8d974506f1e2e83a699d482831d1de72f8c0cdb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo?= Date: Sat, 10 Jan 2026 15:22:15 -0300 Subject: [PATCH] Skip interpolation when the hut switches to its destroyed state. (#68) --- patches/specific_actor_patches.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/patches/specific_actor_patches.c b/patches/specific_actor_patches.c index d8e2bc2..f8944a2 100644 --- a/patches/specific_actor_patches.c +++ b/patches/specific_actor_patches.c @@ -101,6 +101,14 @@ RECOMP_PATCH Actor *actor_draw(ActorMarker *marker, Gfx **gfx, Mtx **mtx, Vtx ** cur_drawn_model_skip_interpolation = TRUE; } } + // @recomp Check for the hut model. + else if (marker->modelId == ASSET_7D7_MODEL_MM_HUT) { + // @recomp Check if the hut is destroyed (HUT_STATE_2_DESTROYED). + if (this->state == 2) { + cur_drawn_model_skip_interpolation = TRUE; + } + } + modelRender_preDraw((GenFunction_1)actor_predrawMethod, (s32)this); modelRender_postDraw((GenFunction_1)actor_postdrawMethod, (s32)marker);