From 64e5fa2f0595241254e1dc9d3b6cbddaf985a7ff Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 7 Jun 2019 00:28:10 +0200 Subject: [PATCH] Apply enums to NetSendCmdQuest --- Source/quests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/quests.cpp b/Source/quests.cpp index cb90e20c6..d46e94eb0 100644 --- a/Source/quests.cpp +++ b/Source/quests.cpp @@ -257,7 +257,7 @@ void CheckQuestKill(int m, BOOL sendmsg) sfxdnum = PS_MAGE82; } if (sendmsg) - NetSendCmdQuest(TRUE, 12); + NetSendCmdQuest(TRUE, QTYPE_KING); } else if (monster[m].MType->mtype == MT_CLEAVER) { quests[QTYPE_BUTCH]._qactive = 3; @@ -270,7 +270,7 @@ void CheckQuestKill(int m, BOOL sendmsg) sfxdnum = PS_MAGE80; } if (sendmsg) - NetSendCmdQuest(TRUE, 6); + NetSendCmdQuest(TRUE, QTYPE_BUTCH); } else if (monster[m].mName == UniqMonst[UMT_GARBUD].mName) { //"Gharbad the Weak" quests[QTYPE_GARB]._qactive = 3; sfxdelay = 30; @@ -315,8 +315,8 @@ void CheckQuestKill(int m, BOOL sendmsg) sfxdnum = PS_MAGE83; } if (sendmsg) { - NetSendCmdQuest(TRUE, 15); - NetSendCmdQuest(TRUE, 5); + NetSendCmdQuest(TRUE, QTYPE_VB); + NetSendCmdQuest(TRUE, QTYPE_MOD); } } else if (monster[m].mName == UniqMonst[UMT_LAZURUS].mName && gbMaxPlayers == 1) { //"Arch-Bishop Lazarus" quests[QTYPE_VB]._qactive = 3;