Skip to content

Commit

Permalink
- fixed wrong line number in error message
Browse files Browse the repository at this point in the history
Parser of MAPINFO editor number definitions didn't assign line numbers, so 'Unknown actor class' fatal error displayed some garbage
  • Loading branch information
alexey-lysiuk committed May 14, 2018
1 parent fa5f936 commit 751e318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/g_doomedmap.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 751e318

Please sign in to comment.