From 7dd7ec260bf1820caf95edd886d0893533f0e93c Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Mon, 23 Mar 2026 18:29:19 -0300 Subject: [PATCH] No need to rotate buildings twice if we're already doing it in Object_SetMatrix --- src/engine/fox_enmy.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/engine/fox_enmy.c b/src/engine/fox_enmy.c index 5c7663b2..18e99218 100644 --- a/src/engine/fox_enmy.c +++ b/src/engine/fox_enmy.c @@ -2005,6 +2005,13 @@ void Sprite167_Update(Sprite167* this) { // World-aligned billboarding void SceneryRotateTowardsCamera(Scenery* this) { + bool isBuilding = (this->obj.id >= OBJ_SCENERY_CO_BUILDING_5 && this->obj.id <= OBJ_SCENERY_CO_BUILDING_8 || + this->obj.id == OBJ_SCENERY_CO_BUILDING_10); + + if (isBuilding) { + return; + } + this->obj.rot.y = 0.0f; if (gPlayer[0].cam.eye.x < this->obj.pos.x) { this->obj.rot.y = 271.0f;