diff options
author | Nay <dnpd.dd@gmail.com> | 2013-08-11 16:36:36 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2013-08-11 16:36:36 +0100 |
commit | 2abaf6224e96920956d003e1894cc96382f18d0f (patch) | |
tree | d7f730bed79bb2d4dbadcda1170735de48882e41 /src/server/scripts | |
parent | 3d1c549aa42aff4d146350b6936d90a5adb859ef (diff) |
Core/Player: Add debug log when SendCanTakeQuestResponse(INVALIDREASON_*) is used
Intent is to find broken quest chains
Requested by Aokromes
Diffstat (limited to 'src/server/scripts')
-rw-r--r-- | src/server/scripts/Commands/cs_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QuestFailedReason>(atol((char*)args)); handler->GetSession()->GetPlayer()->SendCanTakeQuestResponse(msg); return true; } |