From 83eecaf2c40cc72c1dc42335766534eb8d227e60 Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 5 Nov 2020 19:52:18 +0100 Subject: Core/PacketIO: Fill new packet fields with data --- src/server/scripts/Commands/cs_quest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_quest.cpp b/src/server/scripts/Commands/cs_quest.cpp index 18840234b31..fa6b1a0a0bd 100644 --- a/src/server/scripts/Commands/cs_quest.cpp +++ b/src/server/scripts/Commands/cs_quest.cpp @@ -26,6 +26,7 @@ EndScriptData */ #include "Chat.h" #include "DatabaseEnv.h" #include "DB2Stores.h" +#include "LootMgr.h" #include "ObjectMgr.h" #include "Player.h" #include "RBAC.h" @@ -285,7 +286,7 @@ public: return false; } - player->RewardQuest(quest, 0, player); + player->RewardQuest(quest, LootItemType::Item, 0, player); return true; } }; -- cgit v1.2.3