From 3ae471f6b921214e4f704affc3a4ee3dca09c8b8 Mon Sep 17 00:00:00 2001 From: qndel Date: Sun, 15 Sep 2019 12:30:26 +0200 Subject: [PATCH] [hellfire] ResyncMPQuests bin exact --- Source/quests.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Source/quests.cpp b/Source/quests.cpp index af4e037bb..2a4d0ef29 100644 --- a/Source/quests.cpp +++ b/Source/quests.cpp @@ -680,6 +680,24 @@ void ResyncMPQuests() } if (QuestStatus(QTYPE_VB)) AddObject(OBJ_ALTBOY, 2 * setpc_x + 20, 2 * setpc_y + 22); +#ifdef HELLFIRE + if (quests[QTYPE_GRAVE]._qactive == 1 && currlevel == quests[QTYPE_GRAVE]._qlevel - 1) { + quests[QTYPE_GRAVE]._qactive = 2; + NetSendCmdQuest(TRUE, QTYPE_GRAVE); + } + if (quests[QTYPE_DEFILER]._qactive == 1 && currlevel == quests[QTYPE_DEFILER]._qlevel - 1) { + quests[QTYPE_DEFILER]._qactive = 2; + NetSendCmdQuest(TRUE, QTYPE_DEFILER); + } + if (quests[QTYPE_NAKRUL]._qactive == 1 && currlevel == quests[QTYPE_NAKRUL]._qlevel - 1) { + quests[QTYPE_NAKRUL]._qactive = 2; + NetSendCmdQuest(TRUE, QTYPE_NAKRUL); + } + if (quests[QTYPE_JERSEY]._qactive == 1 && currlevel == quests[QTYPE_JERSEY]._qlevel - 1) { + quests[QTYPE_JERSEY]._qactive = 2; + NetSendCmdQuest(TRUE, QTYPE_JERSEY); + } +#endif #endif }