mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- 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:
parent
fa5f936371
commit
751e318c4e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue