summaryrefslogtreecommitdiff
path: root/src/engine/fox_enmy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/fox_enmy.c')
-rw-r--r--src/engine/fox_enmy.c7
1 files changed, 7 insertions, 0 deletions
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;