From beface32626a96cd0ac474e6e701dd4799da37c0 Mon Sep 17 00:00:00 2001 From: NiteKat Date: Sun, 22 Feb 2026 09:33:44 -0500 Subject: [PATCH] Track Adrai Brain Chat with qvar2 instead Reverts the new QS_ and swaps to using qvar2 and TEXT_MUSH11 to track if Adria has given the quest text regarding the brain to match what Deviltuion/1.09 does to keep save file compatibility. --- Source/quests.h | 1 - Source/towners.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/quests.h b/Source/quests.h index 5dac6cd88..549584e1d 100644 --- a/Source/quests.h +++ b/Source/quests.h @@ -30,7 +30,6 @@ enum { QS_MUSHPICKED, QS_MUSHGIVEN, QS_BRAINSPAWNED, - QS_ADRIATALKED, QS_BRAINGIVEN, }; diff --git a/Source/towners.cpp b/Source/towners.cpp index 36d323899..cda6c3c02 100644 --- a/Source/towners.cpp +++ b/Source/towners.cpp @@ -367,9 +367,9 @@ void TalkToWitch(Player &player, Towner & /*witch*/) } } if (Quests[Q_MUSHROOM]._qvar1 >= QS_MUSHGIVEN) { - if (HasInventoryItemWithId(player, IDI_BRAIN) && Quests[Q_MUSHROOM]._qvar1 != QS_ADRIATALKED) { + if (HasInventoryItemWithId(player, IDI_BRAIN) && Quests[Q_MUSHROOM]._qvar2 != TEXT_MUSH11) { Quests[Q_MUSHROOM]._qmsg = TEXT_MUSH11; - Quests[Q_MUSHROOM]._qvar1 = QS_ADRIATALKED; + Quests[Q_MUSHROOM]._qvar2 = TEXT_MUSH11; NetSendCmdQuest(true, Quests[Q_MUSHROOM]); InitQTextMsg(TEXT_MUSH11); return;