From 170b9f2a3882574bdfdb25747b54593ed97c626b Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Fri, 10 Jan 2020 14:57:42 +0100 Subject: [PATCH] print map name in error message --- Source/p_setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/p_setup.c b/Source/p_setup.c index 39981fba..b8145ed0 100644 --- a/Source/p_setup.c +++ b/Source/p_setup.c @@ -292,7 +292,8 @@ void P_LoadNodes (int lump) char fmt[5]; memcpy(fmt, data, 4); fmt[4] = '\0'; - I_Error("Unsupported nodes format: %s\n", fmt); + I_Error("Unsupported nodes format for %s: %s\n", + lumpinfo[lump-ML_NODES].name, fmt); } }