Skip to content

Commit

Permalink
Allow comments in DeHackEd [PARS] section
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Apr 19, 2015
1 parent dc16efd commit 0be976b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/d_deh.c
Original file line number Diff line number Diff line change
Expand Up @@ -2427,6 +2427,8 @@ void deh_procPars(DEHFILE *fpin, FILE* fpout, char *line) // extension
{
if (!dehfgets(inbuffer, sizeof(inbuffer), fpin))
break;
if (*inbuffer == '#')
continue; // skip comment lines
lfstrip(strlwr(inbuffer)); // lowercase it
if (!*inbuffer)
break; // killough 11/98
Expand Down

0 comments on commit 0be976b

Please sign in to comment.