From 2abaf6224e96920956d003e1894cc96382f18d0f Mon Sep 17 00:00:00 2001 From: Nay Date: Sun, 11 Aug 2013 16:36:36 +0100 Subject: Core/Player: Add debug log when SendCanTakeQuestResponse(INVALIDREASON_*) is used Intent is to find broken quest chains Requested by Aokromes --- src/server/scripts/Commands/cs_debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp index f6ee0faaa31..c01a8e95559 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -505,7 +505,7 @@ public: static bool HandleDebugSendQuestInvalidMsgCommand(ChatHandler* handler, char const* args) { - uint32 msg = atol((char*)args); + QuestFailedReason msg = static_cast(atol((char*)args)); handler->GetSession()->GetPlayer()->SendCanTakeQuestResponse(msg); return true; } -- cgit v1.2.3