From 598bccbe9347cb8065faf07711dc9240651bbf95 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 21 Jan 2016 15:53:58 +0200 Subject: [PATCH] Added warning when next dialog page is incorrect --- src/p_conversation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_conversation.cpp b/src/p_conversation.cpp index 7b7355181..ab6cf5883 100644 --- a/src/p_conversation.cpp +++ b/src/p_conversation.cpp @@ -1365,6 +1365,10 @@ static void HandleReply(player_t *player, bool isconsole, int nodenum, int reply } } } + else + { + Printf ("Next node %u is invalid, no such dialog page\n", next); + } } npc->angle = player->ConversationNPCAngle;