From 4c7261c3b6744cd0e3cc9cffb991d05b8a54bb39 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 14 May 2018 13:15:17 +0300 Subject: [PATCH] - fixed wrong line number in error message Parser of MAPINFO editor number definitions didn't assign line numbers, so 'Unknown actor class' fatal error displayed some garbage (cherry picked from commit 751e318c4e85fd91e965e42ca75b708f70114ab8) --- src/g_doomedmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_doomedmap.cpp b/src/g_doomedmap.cpp index 38feaaf76..08224764b 100644 --- a/src/g_doomedmap.cpp +++ b/src/g_doomedmap.cpp @@ -186,6 +186,7 @@ void FMapInfoParser::ParseDoomEdNums() memset(editem.args, 0, sizeof(editem.args)); editem.argsdefined = 0; editem.noskillflags = false; + editem.linenum = sc.Line; int minargs = 0; int maxargs = 5;