- 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 751e318c4e)
This commit is contained in:
alexey.lysiuk 2018-05-14 13:15:17 +03:00 committed by drfrag666
parent 429bd5d843
commit 4c7261c3b6

View file

@ -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;