don't prevent auto accepted speech

came across this where Dampe race wouldn't begin,
whereas intended behavior is that people can rant at Link, he just can't use Speak command

this fixes it so instead Dampe race happens, but at end can't speak with him,
so are unable to get his two prizes
This commit is contained in:
Demur Rumed 2025-08-02 17:06:31 +00:00
commit 11092b0dd3

View file

@ -11,7 +11,7 @@ void RegisterShuffleSpeak() {
COND_VB_SHOULD(VB_SPEAK, shouldRegister, {
Actor* talkActor = GET_PLAYER(gPlayState)->talkActor;
if (talkActor != NULL && talkActor->category == ACTORCAT_NPC) {
if (talkActor != NULL && talkActor->category == ACTORCAT_NPC && !(talkActor->flags & ACTOR_FLAG_TALK_OFFER_AUTO_ACCEPTED)) {
RandomizerInf inf = RAND_INF_MAX;
switch (talkActor->id) {
case ACTOR_EN_DNS: