Skip to content

Commit

Permalink
fix warnings about supported linedef types being reported as unknown
Browse files Browse the repository at this point in the history
Fixes #322, thanks @mfrancis95. Not Changelog relevant.
  • Loading branch information
fabiangreffrath committed Apr 16, 2020
1 parent 8f02a54 commit a87c2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doom/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ void P_LoadLineDefs (int lump)
ld->flags = (unsigned short)SHORT(mld->flags); // [crispy] extended nodes
ld->special = SHORT(mld->special);
// [crispy] warn about unknown linedef types
if ((unsigned short) ld->special > 141)
if ((unsigned short) ld->special > 141 && ld->special != 271 && ld->special != 272)
{
fprintf(stderr, "P_LoadLineDefs: Unknown special %d at line %d.\n", ld->special, i);
warn++;
Expand Down

0 comments on commit a87c2f7

Please sign in to comment.