mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-21 23:58:51 -05:00
Handle ignoring 0x3F for navi talk skips (#4364)
This commit is contained in:
parent
0f02201108
commit
4e4c1c4f8a
@ -317,9 +317,11 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, void*
|
||||
case VB_NAVI_TALK: {
|
||||
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.NoForcedDialog"), IS_RANDO)) {
|
||||
ElfMsg* naviTalk = static_cast<ElfMsg*>(opt);
|
||||
Flags_SetSwitch(gPlayState, (naviTalk->actor.params >> 8) & 0x3F);
|
||||
Actor_Kill(&naviTalk->actor);
|
||||
*should = false;
|
||||
if (((naviTalk->actor.params >> 8) & 0x3F) != 0x3F) {
|
||||
Flags_SetSwitch(gPlayState, (naviTalk->actor.params >> 8) & 0x3F);
|
||||
Actor_Kill(&naviTalk->actor);
|
||||
*should = false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user