From cb3650ed9e1fa69541573ff7893ff45023a68d42 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 7 Apr 2018 12:52:38 +0300 Subject: [PATCH] Added message for absent explicitly referenced dialog file --- src/p_conversation.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_conversation.cpp b/src/p_conversation.cpp index 1e5d306b9..073d5ff9d 100644 --- a/src/p_conversation.cpp +++ b/src/p_conversation.cpp @@ -232,6 +232,11 @@ bool LoadScriptFile (const char *name, bool include, int type) if (!found) { + if (type == 0) + { + Printf(TEXTCOLOR_RED "Could not find dialog file %s", name); + } + return false; } FileReader lump = Wads.ReopenLumpReader (lumpnum);