- 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
This commit is contained in:
alexey.lysiuk 2018-05-14 13:15:17 +03:00
parent fa5f936371
commit 751e318c4e

View file

@ -181,6 +181,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;