summaryrefslogtreecommitdiff
path: root/src/object/cameraTarget.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-07-05 21:34:08 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2023-08-01 11:36:11 +0200
commit488196754ea5225513dc900d23c53f2b157de409 (patch)
treec69039d9643265381dddb27cca929cbea6dfb936 /src/object/cameraTarget.c
parent0d6b9052bacc3bbe079df0bcf25ac633ed4df073 (diff)
Create new entity structs for NPCs
Diffstat (limited to 'src/object/cameraTarget.c')
-rw-r--r--src/object/cameraTarget.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/cameraTarget.c b/src/object/cameraTarget.c
index 57a5623a..9c001915 100644
--- a/src/object/cameraTarget.c
+++ b/src/object/cameraTarget.c
@@ -49,10 +49,10 @@ void CameraTarget(Entity* this) {
u32 uVar2 = gPlayerState.field_0x27[0] > 0;
- switch (gFuseInfo._0) {
- case 0:
- case 1:
- case 2:
+ switch (gFuseInfo.fusionState) {
+ case FUSION_STATE_0:
+ case FUSION_STATE_1:
+ case FUSION_STATE_2:
if ((gMessage.doTextBox & 0x7f) == 0) {
break;
}