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);