mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
No forced navi (Prevent forced Navi conversations) (#453)
* no forced navi * imgui option for it * remove double owl from sloppy merge Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
36d37d97bd
commit
3e6307bf96
2 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,7 @@ void ElfMsg_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
s32 ElfMsg_GetMessageId(ElfMsg* this) {
|
||||
// Negative message ID forces link to talk to Navi
|
||||
if (this->actor.params & 0x8000) {
|
||||
if (this->actor.params & 0x8000 || CVar_GetS32("gNoForcedNavi", 0) != 0) {
|
||||
return (this->actor.params & 0xFF) + 0x100;
|
||||
} else {
|
||||
return -((this->actor.params & 0xFF) + 0x100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue