summaryrefslogtreecommitdiff
path: root/src/engine/fox_demo.c
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-11-24 21:12:39 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-11-24 21:12:39 -0300
commitd2a4a4d553370643ffbc336e09d320a025fba228 (patch)
treee59dc0a197b795cb2def9818af8f05266b26527f /src/engine/fox_demo.c
parent29fb86f92d0d71624e32810abef934312457e351 (diff)
Option for Team faces in cutscenes
Diffstat (limited to 'src/engine/fox_demo.c')
-rw-r--r--src/engine/fox_demo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/fox_demo.c b/src/engine/fox_demo.c
index 67cce8ba..86ae27de 100644
--- a/src/engine/fox_demo.c
+++ b/src/engine/fox_demo.c
@@ -100,8 +100,10 @@ void func_demo_80048CC4(ActorCutscene* this, s32 index) {
} else {
this->iwork[11] = 1;
- // @port: Setup team faces
- this->iwork[14] = index + 2;
+ if (CVarGetInteger("gTeamFaces", 1) == 1) {
+ // @port: Setup team faces
+ this->iwork[14] = index + 2;
+ }
AUDIO_PLAY_SFX(NA_SE_ARWING_ENGINE_FG, this->sfxSource, 4);
}