summaryrefslogtreecommitdiff
path: root/src/npc/cat.c
diff options
context:
space:
mode:
authorReinmmar <31139601+Reinmmar@users.noreply.github.com>2023-12-11 01:21:31 +0100
committerGitHub <noreply@github.com>2023-12-10 16:21:31 -0800
commitb163ecafc9e3fed2bf91ec19ae5cd8c0e80c1b5c (patch)
tree1624539c80ff4bb13e0d54c7edb7266f41f46bd5 /src/npc/cat.c
parentaaa441574668f5472662951437c8e4b69acae9c2 (diff)
Applied the enum for interactions (#647)
* Interactions enum applied * Interactions enum applied
Diffstat (limited to 'src/npc/cat.c')
-rw-r--r--src/npc/cat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/npc/cat.c b/src/npc/cat.c
index 14927657..aa2d221e 100644
--- a/src/npc/cat.c
+++ b/src/npc/cat.c
@@ -373,7 +373,7 @@ void sub_08067C44(CatEntity* this) {
this->unk_69 = uVar5;
- if (super->interactType == 0) {
+ if (super->interactType == INTERACTION_NONE) {
return;
}
@@ -403,7 +403,7 @@ void sub_08067C44(CatEntity* this) {
break;
}
- if (super->interactType == 2) {
+ if (super->interactType == INTERACTION_FUSE) {
super->action = 8;
InitializeNPCFusion(super);
} else {
@@ -411,7 +411,7 @@ void sub_08067C44(CatEntity* this) {
sub_08067790(super);
SetDefaultPriority(super, PRIO_MESSAGE);
}
- super->interactType = 0;
+ super->interactType = INTERACTION_NONE;
SoundReq(SFX_VO_CAT);
}