mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 12:52:18 -05:00
fix: return enum value so mido moves away properly (#2376)
when pulling in documentation i missed a couple returns this was causing mido to never stop blocking the path to the deku tree after searchign the codebase, i found two instances of this mistake this pr fixes them Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
33539be458
commit
2a9d93dd65
@ -469,12 +469,12 @@ s16 func_80AAAF04(PlayState* play, Actor* thisx) {
|
|||||||
break;
|
break;
|
||||||
case 0x1033:
|
case 0x1033:
|
||||||
case 0x1067:
|
case 0x1067:
|
||||||
NPC_TALK_STATE_ACTION;
|
return NPC_TALK_STATE_ACTION;
|
||||||
}
|
}
|
||||||
return NPC_TALK_STATE_IDLE;
|
return NPC_TALK_STATE_IDLE;
|
||||||
case TEXT_STATE_EVENT:
|
case TEXT_STATE_EVENT:
|
||||||
if (Message_ShouldAdvance(play)) {
|
if (Message_ShouldAdvance(play)) {
|
||||||
NPC_TALK_STATE_ACTION;
|
return NPC_TALK_STATE_ACTION;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return NPC_TALK_STATE_TALKING;
|
return NPC_TALK_STATE_TALKING;
|
||||||
|
Loading…
Reference in New Issue
Block a user